Atelier UI

Search components…

Search components…

Stepper

Multi-step progress indicator, horizontal or vertical, with clickable completed steps.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

StepperProps

Also accepts all props of Omit<React.ComponentProps<"ol">, "onChange">

PropTypeDefaultDescription
steps* requiredStepperStep[]——
stepnumber—Zero-based index of the current step
defaultStepnumber0—
onStepChange(step: number) => void——
orientation"horizontal" | "vertical""horizontal"—
clickablebooleantrueAllow jumping back to completed steps

Install

$ npx shadcn@latest add https://chromotion.dev/r/stepper.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this