A progress bar component to display single or stacked progress indicators.
Anatomy
<ProgressBar.Root>
<ProgressBar.Fill />
</ProgressBar.Root>Examples
Variants
Progress bar components come with three built in variants, solid, outlined, and muted.
Solid
Outlined
Muted
Sizes
To manage the size of the progress bar you can provide a size through the size prop.
XS
SM
MD
LG
XL
Colors
The progress bar component uses the color prop to allow for predefined and custom colors.
Primary
Secondary
Tertiary
Success
Danger
Warning
Info
Stacking
Use ProgressBar.Fill children to create stacked progress bars with multiple segments.
Over Stacking
When stacked fill values exceed 1, the progress bar gracefully handles overflow.