Stepper
Loading example…
Step 1-N indicator for multi-stage flows.
Import
Section titled “Import”import { Stepper } from "@jcsoftdev/ui/navigation";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/navigation/stepper.
<Stepper steps={steps} currentStepId="barbero" />| Prop | Type | Default | Description |
|---|---|---|---|
steps * |
Step[] |
||
currentStepId * |
string |
||
classNames |
Partial<Record<StepperPart, string>> |
Per-part classes merged with cn; consumer classes win. className still targets the root and is merged last. |
* marks a required prop.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/navigation/stepper/stepper.tsx