Progress
Progress is used to display the progress status for a task that takes a long time or consists of several steps.
Import
Usage
Editable Example
Indeterminate
If it isn't known if/when a process will complete, an indeterminate
progress can be used as featured in macOS Big Sur.
Editable Example
Transitioning
The width of the bar will transition automatically.
Editable Example
Accessibility
- Progress has a
role
set toprogressbar
to denote that it's a progress bar. - Progress sets
aria-valuenow
to thevalue
prop passed to the component, to ensure the progress value is visible to screen readers. - Progress sets
aria-valuemin
to 0. - Progress sets
aria-valuemax
to themax
prop vale.