Skip to content

Progress bar

Built on the native progress element with a real label, so assistive technology announces both the label and the value. Useful for uploads, steps in a form, stock levels and rating breakdowns.

75%
  • value, label: required
  • max: the value that fills the bar (default 100)
  • id: id for the progress element; defaults to one made from the label, so set it when two bars on a page share a label
  • hideLabel: keeps the label for screen readers only
  • tone: neutral, info (default), success, warning, critical
  • size: compact, regular (default)
<ProgressBar label="3 of 4 setup steps done" value={3} max={4} />
Tones
60%
45%
100%
15%
90%
size="compact" with hideLabel
72%