Skip to main content

Progress bars

Provide up-to-date feedback on the progress of a workflow or action with simple yet flexible progress bars.

Example​

Default progress bar.

Result
Loading...
Live Editor

With label​

Add a label prop to show a visible percentage. For low percentages, consider adding a min-width to ensure the label's text is fully visible.

Result
Loading...
Live Editor

Screenreader only label​

Add a visuallyHidden prop to hide the label visually.

Result
Loading...
Live Editor

Contextual alternatives​

Progress bars use some of the same button and alert classes for consistent styles.

Result
Loading...
Live Editor

Striped​

Uses a gradient to create a striped effect.

Result
Loading...
Live Editor

Animated​

Add animated prop to animate the stripes right to left.

Result
Loading...
Live Editor

Stacked​

Nest <ProgressBar />s to stack them.

Result
Loading...
Live Editor

API​

ProgressBar​