Skip to main content
/
/
/
ProgressBar

ProgressBar

Display progress as percentage

import ProgressBar from "@intility/bifrost-react/ProgressBar";
Props

Basic ProgressBar

Display progress by using a percentage (0-100) as value.

25%

Changes between values are animated.

4%

Max value

You can set a max value and the percentage will be calculated for you.

75%

Custom label

Any content passed in as children will be displayed as a label (instead of a percentage).

6/8

Hide label

Hide label with hideLabel (adds a title for hover tooltip).

Sizes

Choose a size: 'small' or 'large' ('medium' is default).

Colors

Theme

By default, the progress bar will follow the current color theme (and mode).

To theme a single ProgressBar, you can apply the theme class directly.

State

New in 6.6

Alternatively, use the state prop to explicitly set a color:

Loading

New in 6.9

loading prop adds animated barbershop-style stripes to indicate that progress is ongoing.

Disabled