Content
- Name each step with a noun of one or two words: Site, Logger, Review.
- Keep descriptions to a few words saying what the step asks for.
- End on the step where people check and save.
Shows where people are in a multi-step flow, with finished steps ticked and the current one marked.
Step through with Next and Back. Turn on Clickable, then click a finished step to go back to it.
<WildProgressTracker
:steps="steps"
:current-step="1"
aria-label="New site"
/>Circles of 24, 32 and 40px. The default is md.
currentStep to the step count once it’s saved, so every step shows a tick. With numbers off, the current circle holds a dot.Give it an aria-label that names the flow. Screen readers hear each step as current, completed or not started.
| Key | What it does |
|---|---|
| Tab | Moves to the next clickable finished step. |
| Enter / Space | Goes back to that step, and focus moves with it. |
| Prop | Type | Default | Description |
|---|---|---|---|
| steps | (string | { label, description? })[] | — | The steps, in order. |
| currentStep | number | 0 | 0-based. Equal to the step count when all are done. |
| showNumbers | boolean | true | Numbers in the circles of unfinished steps. |
| size | 'sm' | 'md' | 'lg' | 'md' | Circle of 24, 32 or 40px. |
| orientation | 'horizontal' | 'vertical' | 'horizontal' | Row across the top, or a column. |
| clickable | boolean | false | Finished steps become buttons. |
| @step-click | (index: number) => void | — | Emitted when a finished step is chosen. |
| aria-label | string | 'Progress' | Names the flow for screen readers. |
| Token | Value | Where it lands |
|---|---|---|
| --global-blue-900 | #00AEEF | Finished and current circles, lines, current halo. |
| --global-neutral-grey-300 | #F1F1F1 | Upcoming circle fill. |
| --global-neutral-grey-600 | #DCDCDE | Upcoming lines. |
| --global-neutral-grey-1100 | #2D2B32 | Finished step label, upcoming number. |
| --global-neutral-grey-1000 | #4F4D55 | Upcoming labels, descriptions. |
| --global-blue-1000 | #1877F2 | Current step label, focus ring. |
| --global-base-white | #FFFFFF | Number, tick and dot on cyan; gap inside the focus ring. |