Skip to content
On this page

ProgressBar

A linear indicator of progress.

Currently only supports indeterminate type (i.e. the bar will scroll across the width of the display and then reappear at the start, rather than reflecting a specific amount of progress having been made).

A smaller, inline version is available for use within other components, e.g. a menu or dialog.

Demos

Configurable

NameValue
Props
inline
disabled
View
Reading direction

Default

Default indeterminate progress bar.

Inline

An inline version is available for use within other components. See Menu for sample usage.

Usage

Props

Prop nameDescriptionTypeDefault
inlineWhether this is the smaller, inline variant.booleanfalse
disabledWhether the progress bar is disabled.booleanfalse

CSS-only version

Markup structure

Inline

For an inline progress bar, add the cdx-progress-bar--inline class to the root <div>.

Disabled

For a disabled progress bar, add the cdx-progress-bar--disabled class to the root <div>.