Stepper
Walks a user through a fixed sequence of steps, one at a time. Stock Mantine
Stepper, with a thinner, stroke-based check icon on completed steps and a
distinct look for the in-progress step versus a finished one.
Usage
<Stepper active={1}>
<Stepper.Step label="Prosjekt" description="Opprett prosjekt" />
<Stepper.Step label="Detaljer" description="Fyll inn detaljer" />
<Stepper.Step label="Fullfør" description="Send inn" />
</Stepper>
Props
Only what this design system changes. Everything else is Mantine's — read the full props table there.
| Property | Type | Allowed values | Default | Description |
|---|---|---|---|---|
completedIcon | ReactNode | StepFragmentComponent | — | <IconCheck size={IconSize.md} stroke={2.5} /> | Mark shown on a finished step. Set in theme.ts to a stroke-based Tabler icon because Mantine's own check is a filled path and cannot be thinned via CSS. |
Step icon, rest (stepInactive) | — | — | — | Not a prop. Filled --mantine-color-warm-grey-1 background, --mantine-color-warm-grey-2 border, ordinary text colour. |
Step icon, in progress (data-progress) | — | — | — | Not a prop. Filled with --mantine-color-accent; icon/number flips to the inverted token (white in both schemes) for contrast against the fill. |
Step icon, completed (data-completed) | — | — | — | Not a prop. Outlined rather than filled — --mantine-color-surface-grey background, --mantine-color-accent border and check-icon colour — so a finished step reads as done without competing with the active step's fill. |
Accessibility
Each Stepper.Step renders as a <button>. If a step has no visible label
or description — an icon-only step, for instance — give it its own
aria-label or title, or it will not be announced by a screen reader.
Keyboard support is Mantine's: Tab / Shift+Tab move focus between the
steps that are actually clickable, Space / Enter activates the focused
one, and a step that isn't currently clickable (governed by
allowStepSelect / allowNextStepsSelect) is skipped in the Tab order rather
than landing on a step it can't activate.