Dashed circular progress bar
Progress counted in steps, for onboarding, quizzes or streaks: ten arcs split the ring, one per step.
How it's built
- Ten
<o-arc>withoutvalueshare the ring equally, so ten arcs are ten steps. Twelve arcs would be twelve. --o-gap: 8on the ring opens the space between dashes, for all of them at once.- Each step is a class:
.donefills it,.nowmakes the next one breathe with a CSS animation. - The universe is a
role="progressbar"witharia-valuemax="10", so the count is read as steps, not percent.
To name each step, add a second ring further out with one satellite per arc. Same count, same ring: each name sits over its dash.
Related
- Progress with background: a continuous value
- 240° gauge: steps on a partial range
- Arcs