ComponentsStepper
Stepper
NewShows progress through a multi-step flow in horizontal or vertical orientation.
Installation
bunx @swift-rust/ui add stepper
Usage
tsx
1import { Stepper } from "@/components/ui/stepper";23<Stepper4current={class="text-amber-400">1}5steps={[6{ title: "Account", description: "Your details" },7{ title: "Profile", description: "Set up" },8{ title: "Done", description: "Review" },9]}10/>
Examples
Account
Your details
- 2
Profile
Set up
- 3
Done
Review