A ProgressBar is a visual element used to indicate the progress of an action or process.
Using progress bars
Use a ProgressBar when you want to provide real-time feedback on the progress of ongoing operations, such as file uploads or form submissions.
If the progress of a task is not crucial to user understanding or if the task is expected to complete quickly, avoid using a ProgressBar.
Progress bars include the following elements:
- Progress bar
Visual representation of the progress displayed as a filled blue bar.
- Bar container
White container that holds the progress bar.
There are different types of progress bars, depending on your intended use.
Default progress bar
Elevated progress bar to indicate that the ongoing system process will affect an entire view or page area.
Inline progress bar
Indeterminate progress bars are always in motion and cannot be in an empty, completed, or disabled state.
Default indeterminate progress bar.
Due to the lack of descriptive text, default progress bars require one of the following attributes:
aria-label has to be used on progress bars to be understandable by assistive technology users. Exceptions are inline progress bars in component combinations, e.g. in the Menu component, that are skipped by adding
An inline version is available for use within other components. See Menu for sample usage.
|Whether this is the smaller, inline variant.|
|Whether the progress bar is disabled.|
For an inline progress bar, add the
cdx-progress-bar--inline class to the root
For a disabled progress bar, add the
cdx-progress-bar--disabled class to the root