Progress

PreviousNext

Visual progress indicator with dynamic values, customizable ranges, and data source integration.

Displays a partially filled bar indicating how far a value has progressed toward a maximum. Supports dynamic ranges, value formats, semantic colors, and grid layouts.

Basic Usage

Project Progress
65%
Project completion status

Value Formats

Choose how to display the progress value: percentage, fraction, value, or custom.

Percentage Format
75%
Shows as 75%
Fraction Format
75 / 100
Shows as 75 / 100
Value Format
75
Shows as 75

Custom Min/Max Ranges

Set custom minimum and maximum values for dynamic progress bars.

Custom Min/Max
120 / 150
Range: 50-150, Value: 120
Goal Progress
8 / 12
8 out of 12 completed

Custom Value Formatter

Use a custom formatter for complete control over value display.

Downloads
4,250 / 5,000
Total downloads this month
Storage Used
75.5 GB
Server capacity

Color Variants

Use semantic colors to indicate different states or meanings.

Default Color
60%
Uses primary theme color
Success Color
85%
Green for success states
Warning Color
55%
Yellow for warning states
Danger Color
25%
Red for critical states

Dashboard Example

Create comprehensive dashboards with progress tracking.

Project Completion
78%
Q4 2024 Goals
Budget Used
62%
Remaining: $45,000
Team Velocity
85%
Sprint 12 metrics
Code Quality
91%
Technical debt ratio
Customer Satisfaction
88%
NPS Score
Server Uptime
99.9%
Last 30 days

Interactive Progress

Update progress dynamically with state management.

Interactive Progress
45%
Click buttons to adjust progress

API Reference

ProgressItem Props

PropTypeDefaultDescription
valuenumber-Current progress value
minnumber0Minimum value
maxnumber100Maximum value
titlestring-Progress title
descriptionstring-Supporting description text
showValuebooleantrueShow/hide the value display
valueFormat"percentage" | "fraction" | "value" | "custom""percentage"Value display format
customValueFormatter(value, min, max) => string-Custom value formatter function
variant"card" | "outline" | "ghost" | "minimal""card"Visual style variant
size"sm" | "md" | "lg""md"Size of components
valueVariant"default" | "primary" | "muted" | "gradient""default"Value text styling
barVariant"default" | "primary" | "success" | "warning" | "danger" | "muted""default"Progress bar color
animatedbooleantrueEnable smooth transitions
onClick() => void-Click handler (makes it interactive)
ariaLabelstring-Custom accessibility label
classNamestring-Additional CSS classes
classNamesobject-Granular CSS class overrides

ProgressCollection Props

PropTypeDefaultDescription
itemsProgressItemProps[]-Array of progress items
layout"stack" | "grid""stack"Layout style
columns1 | 2 | 31Grid columns (when layout="grid")
gap"sm" | "md" | "lg""md"Gap between items
variant"card" | "outline" | "ghost" | "minimal""card"Shared variant for all items
size"sm" | "md" | "lg""md"Shared size for all items
valueVariant"default" | "primary" | "muted" | "gradient""default"Shared value styling
barVariant"default" | "primary" | "success" | "warning" | "danger" | "muted""default"Shared bar color
animatedbooleantrueEnable animations for all items
onItemClick(item, index) => void-Click handler for all items
classNamestring-Additional CSS classes