127 Components

Stepper Wizard

Navigation

Multi-step onboarding and checkout progress wizard with spring-animated connector bars, clickable step indicators, and directional panel transitions.

Workspace
Design Tokens
Ship & Verify
Step 1 of 3

Workspace

Configure your project name and repository region.

Connected to us-east-1 production cluster with automatic backups enabled.

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionlucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/stepper.json"

Props

TypeScript props supported by <Stepper />.

7 props
PropTypeDefaultDescription
stepsStepItem[]—Array of step objects ({ id, title, description, detail }).
activeStepnumber—Controlled active step index (0-based).
defaultStepnumber0Initial active step index for uncontrolled mode.
onStepChange(stepIndex: number) => void—Callback fired whenever the active step changes.
onComplete() => void—Callback fired when the user completes the final step.
allowStepClickbooleantrueAllows users to jump directly to a step by clicking its node.
classNamestring—Additional Tailwind CSS classes for the outer wizard container.

Key Features

  • Spring-animated progress bar connecting step nodes with checkmark completion states.
  • Directional slide transitions when moving forward or backward between steps.
  • Supports both controlled (`activeStep`, `onStepChange`) and uncontrolled (`defaultStep`) usage.

Keyboard & Accessibility

  • Marks the active step button with aria-current='step'.
  • Keyboard-focusable step indicators and navigation buttons.
  • Respects prefers-reduced-motion for step transitions and progress fills.