Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

Stepper

Open .md
Live preview

Loading example…

Step 1-N indicator for multi-stage flows.

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).

packages/ui/src/navigation/stepper/stepper.tsx