Stepper
Sequential progress primitive for checkout, onboarding, and staged workflows.
Best for
Import
import { Stepper } from "@enadhq/enad-react-sdk/client/ui-resolver"When to use it
Use Stepper when the visitor is moving through a known sequence and needs orientation inside that flow. It fits checkout, onboarding, and multi-step forms where the next stage is predictable.
If the visitor can jump freely between panels without a real sequence, Tabs is usually the clearer pattern.
Slot strategy
Stepper is a parent-led composition with five pieces:
Steppercontrols the active step and orientation.StepperItemwraps each stage in the sequence.StepperTitlegives each stage a short label.StepperDescriptionadds supporting detail when the labels need context.StepperSeparatordraws the connector between items.
Keep step titles short so the current position stays easy to scan.
Behavior and theming guidance
Use activeStep to reflect the current stage from your real flow state. Do not hard-code it in a way that can drift from the route or form logic.
Horizontal orientation works best for short labels and a small number of steps. Switch to vertical when descriptions matter or when the sequence needs more breathing room on narrower layouts.
Examples
Live examples you can edit directly in the sandbox.
Horizontal checkout steps
Use a short horizontal stepper when the sequence is fixed and visitors need quick context about where they are.
Vertical onboarding steps
A vertical stepper gives titles and descriptions more room when each stage needs a little more explanation.
Component Sets
Preview the first example across the available component-set presets to compare tone, spacing, and structural defaults.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| activeStep | number | — | No description yet. |
| orientation | string | — | No description yet. |