Installation
- Tab Title
- Tab Title
Usage
Examples
Sizes
Two sizes available:s (default) and m.
Tones
Four semantic tones for different states.With Label
Add a descriptive label above the progress bar.With Value Display
Show the numeric value alongside the progress bar.Indeterminate
For unknown progress duration (loading state).Dynamic Updates
Progress animates smoothly when value changes.API Reference
Progress.Root
Current progress value (0-100). Use
null for indeterminate state.Minimum value.
Maximum value.
Semantic color tone:
default, success, warning, danger.Size of the progress bar:
s, m.Progress.Label
Accessible label for the progress indicator. Automatically associated with the progress element.Label text.
Progress.Track
Background track for the progress indicator.Progress.Indicator
Filled portion showing progress. Width animates based onvalue.
Progress.Value
Displays the current value as text (e.g., “60%”).Optional render function to customize value display. Defaults to ”%”.
Accessibility
- Uses Base UI
Progressprimitive with proper ARIA attributes Progress.Labelautomatically associates with progress viaaria-labelledbyaria-valuenow,aria-valuemin, andaria-valuemaxautomatically managed- Indeterminate state properly communicated to screen readers
- Visual progress changes announced to assistive technology
Design Tokens
Progress uses design tokens for consistent styling:- Spacing:
--space-4,--space-6,--space-8 - Border radius:
--radius-maxfor rounded ends - Colors:
--color-surface-interactive-default(track),--color-content-*(indicator) - Typography:
--font-size-s,--line-height-s,--font-weight-medium - Animation: 300ms ease-out transition