Stepper
Shows progress through a sequence and lets users return to available steps.
@rivetui/stepperPreview
Explore each composition interactively, then open its code in the same context.
Default
Communicate the current position while keeping completed steps available.
Vertical
Use a vertical sequence when labels need more room or the available width is constrained.
Disabled step
Keep unavailable steps visible while preventing interaction until their prerequisite is complete.
Registry
Installation
Add the component source and its declared dependencies with the shadcn CLI.
Install component
bunx --bun shadcn@latest add @rivetui/stepperPublic interface
API reference
Component-specific props are listed here. Native element and Base UI props continue to pass through.
Stepper
| Prop | Type | Default |
|---|---|---|
value | number | — |
defaultValue | number | 1 |
onValueChange | (value: number) => void | — |
orientation | "horizontal" | "vertical" | "horizontal" |
disabled | boolean | false |
StepperItem
| Prop | Type | Default |
|---|---|---|
step | number | required |
disabled | boolean | false |