Skip to content

<progress> ​

The <progress> element visually represents task completion.

Use the value and max attributes to set progress, or omit value for an indeterminate state.

Pair with a <label> to give it an accessible name for screen readers.

Basic Usage ​

live preview
editable html
<progress value="50" max="100">
  &nbsp;
</progress>

Indeterminate Progress ​

live preview
editable html
<progress>
  &nbsp;
</progress>

Progress with Label ​

live preview
editable html
<label>
  Upload progress
  <progress value="50" max="100">
    50%
  </progress>
</label>

Variants ​

Intent Variants ​

To convey intent and importance, progress bars can be styled with different variants:

live preview
See code

Modifiers ​

.subtle creates progress bars with a more muted appearance, often used for less prominent actions.

live preview
See code