Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Stepper

Progress through a multi-step flow, horizontal or vertical. Completed steps can be revisited.

OriginalsDumb extras
  1. AccountName and email
  2. 2WorkspaceTeam and region
  3. 3ConnectLink a repository
  4. 4DeployFirst preview
$ pnpm dlx shadcn@latest add @dumb/stepper

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { Stepper } from "@/components/ui/stepper"
<Stepper
  current={1}
  steps={[{ title: "Account" }, { title: "Workspace" }, { title: "Deploy" }]}
/>

Vertical

A delivery timeline.

  1. Order placedThu, 1 Oct · 09:41
  2. PackedBengaluru warehouse
  3. 3Out for deliveryArriving by 6 pm
  4. 4Delivered

API reference

Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.

Stepper

PropTypeDefault
stepsextra{ title: ReactNode; description?: ReactNode }[]

The steps, in order.

-
currentextranumber

Zero-based current step; earlier steps are complete.

-
orientationextra"horizontal" | "vertical"

Layout direction.

"horizontal"
onStepSelectextra(index: number) => void

Makes completed steps clickable.

-