The progress bar displays a horizontal indicator to show percentage complete/remaining.

Example

⌘ Cmd + ⌥ Option + 1

Properties

propertypropTyperequireddefaultdescription
displayErrorbool-falsebadNews will change the progress bar color to red
maxnumber | string-100max
minnumber | string-0min
leftLabelstring--left label
progressnumber | string--string data for progress
rightLabelstring--right label
topLabelstring--top label

Usage

The progress bar component helps users visualize two relative percents, to show how much is remaining or complete. Group traffic allocation, Optimizely trial % remaining, and product usage bars are all good examples of the progress bar component in use.

Best Practices

Do

Limit your use of this component to once per page

Don't

Never use this as a loading indicator, see Spinner and ProgressDots for that