1. components
  2. progress
  3. react

Progress

An indicator showing the progress or completion of a task.

Colors

Set the color using the meterBg prop.

Height

Set the height using the height prop.

Indeterminate

When no value is present, or the value is undefined, an indeterminate animation will be shown.

Custom Animations

A custom indeterminate animation can be set by providing an animation class to the meterAnimate prop.


Native Alternative

A native progress element is available cross browser, but does not support indeterminate animations.

API Reference

Progress

Property Type Description
value
number
Set the value
max
number
Set the maximum value
labelledBy
string
Set the aria-labelledby
base
string
Set root base classes
bg
string
Set root background classes
width
string
Set root width classes
height
string
Set root height classes
rounded
string
Set root rounded classes
classes
string
Set root arbitrary classes
meterBase
string
Set meter base classes.
meterBg
string
Set meter bg classes
meterRounded
string
Set meter rounded classes.
meterTransition
string
Set meter transition classes.
meterAnimate
string
Set meter animation classes for indeterminate mode.
meterClasses
string
Set meter arbitrary classes.