Skip to content

Progress and meter

progress shows how far a task has got. meter shows a value in a known range.

Progress

40%

Indeterminate

Without a value the bar animates while the task runs. Users who prefer reduced motion see a still bar.

Colors

A color class colors the bar.

Meter

The bar is green in the optimum range, yellow below it and red in the worst range. Set low, high and optimum to define the ranges.

Sizes and styles

Both take .small, .medium and .large, and .rounded or .square.

Variables

VariableDefault
--i-progress-durationOne sweep of an indeterminate progress bar1s
--i-progress-color-backgroundlight-dark(#dfe3eb, #202632)
--i-progress-color-barvar(--i-color-primary)
--i-meter-color-optimumvar(--i-color-success)
--i-meter-color-suboptimumvar(--i-color-warning)
--i-meter-color-poorvar(--i-color-danger)