Progress Bars
Progress indicators inform users about the status of ongoing processes.
Variations
Basic
Copy as:
copydone
copydone
copydone
copydone
Progress bars with labels above
Copy as:
copydone
copydone
copydone
copydone
Progress bars with labels inside
Copy as:
copydone
copydone
copydone
copydone
Progress bars with trailing labels
Copy as:
copydone
copydone
copydone
copydone
Progress bars with trailing icons
Copy as:
copydone
copydone
copydone
copydone
Colored progress bars
Copy as:
copydone
copydone
copydone
copydone
Size Variation
Copy as:
copydone
copydone
copydone
copydone
Usage
Progress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates. They communicate an app’s state and indicate available actions, such as whether users can navigate away from the current screen.
Specs
Progress bars using the native <progress>
HTML element should include the following attributes:
- max: corresponds to the maximum value of the progress.
- value: corresponds to the active value of the progress.
The progress component can contain the following elements:
- Progress bar: the bar has a 1rem (16px) height for the base size, 1.5rem (24px) for the large size, 0.5rem (8px) for the small size and 0.25rem (4px) height in the extra small size.
- Label: 0.75rem (12px) font size and can be positioned above or inside (on base and large sizes) the progress bar.
- Icon: 1rem (16px) width and height.
Accessibility notes
Since the native HTML <progress>
is utilized no extra roles are required. In most cases, you should provide an accessible label when using this element.