본문으로 건너뛰기
언어

Steppernavigation

Progress steps that are horizontal on wide screens and vertical on mobile, with complete, current, upcoming, skipped and error states and optional links.

설치

pnpm
pnpm dlx shadcn@4.23.0 add @uikit/stepper

의존 아이템localestyle

Default

stepper-demo.tsx
import { Stepper } from "@/components/ui/stepper";
const steps = [  { key: "details", label: "Details", description: "Guest and dates" },  { key: "payment", label: "Payment" },  { key: "review", label: "Review" },  { key: "done", label: "Done" },];
export default function StepperDemo() {  return <Stepper steps={steps} current="payment" />;}