Components
Progress
Show how far along something is. The bar is the native <progress> element — screen readers understand it with no extra work.
Storage40%
Importing orders…
<div class="progress-label"><span>Storage</span><span>40%</span></div>
<progress class="progress" value="40" max="100">40%</progress>
<progress class="progress progress-green" value="72" max="100"></progress>
<progress class="progress progress-sm"></progress> <!-- no value: an animated sweep -->
Stacked
Storage62% of 100 GB
- Photos 30%
- Video 20%
- Documents 12%
<div class="progress-stack" role="img" aria-label="Storage: photos 30%, video 20%">
<span class="theme-blue" data-value="30"></span>
<span class="theme-purple" data-value="20"></span>
</div>
<ul class="progress-legend"><li class="theme-blue">Photos <b>30%</b></li>…</ul>
Circle
72%
45%
<div class="progress-circle" role="progressbar" aria-valuenow="72" data-value="72">72%</div>
| Class | What it does |
|---|---|
.progress on <progress> | A bar; without value it animates (indeterminate) |
.progress-label | A label row above: name on the left, value on the right |
.progress-stack + .progress-legend | Several parts in one bar (data-value="30" each — percent), with a legend |
.progress-circle | A ring (data-value="72", 0–100); put the text you want inside. It animates when the value changes. |
.progress-sm · .progress-lg | Thinner · thicker (bars and rings) |
.progress-<color> · .progress-solid · .progress-vivid · .progress-deep | Color (the soft default fill) · stronger fills: *-500, *-600, *-800 |
Colors & strengths
<progress class="progress progress-green" value="70" max="100"></progress>
<progress class="progress progress-green progress-vivid" value="70" max="100"></progress>