Where somebody is in a process that has an order.
Steps, not views: use Tabs when the sections can be visited in any order. The state of each step is derived from current alone, so there is no way to render a step both done and in progress.
The done marker is a check rather than a colour change, and the step in progress carries aria-current="step", so the position survives without colour.
import { Stepper } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
steps |
StepperStep[] |
|
current |
number |
Zero-based index of the step in progress. Everything before it reads as done. |
orientation |
'horizontal' | 'vertical' |
|
label |
string |
|
className |
string |