Components › Navigation

Stepper

Progress through a multi-step flow, horizontal or vertical.

Installation

npx plankui@latest add stepper

Usage

import { Stepper } from "@/components/ui/stepper";

<Stepper current={1} steps={[{ title: "Account" }, { title: "Billing" }]} />

API reference

PropTypeDefaultDescription
steps{ title: ReactNode; description?: ReactNode }[]requiredThe steps.
currentnumberrequiredZero-based current step.
orientation"horizontal" | "vertical""horizontal"Layout.

View the source on GitHub