Progress

Progress bars in determinate and indeterminate modes, with four semantic colors and a standard role.

Props

PropTypeDefaultDescription
valuenumber0Current value, from 0 to max
maxnumber100Maximum value, defaults to 100
indeterminatebooleanfalseLooping animation without a concrete value
size'sm' | 'md''md'Thickness: sm / md
variant'accent' | 'success' | 'warning' | 'danger''accent'Color: accent / success / warning / danger
showValuebooleanfalseShow the percentage on the right
labelstring—Accessible name
...restHTMLAttributes—Remaining props are forwarded to the native div