Loading preview
Analog Clock
Data displayA station clock whose needle waits at twelve; drag the minute hand to set it by hand.
Progress through a multi-step flow, horizontal or vertical.
npx shadcn@latest add @venusui/stepperRun this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.
Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.
@/components/ui/stepper.tsxThe code behind the preview above.
stepper-demo.tsx
import { Stepper } from "@/components/ui/stepper"
export default function StepperDemo() {
return (
<Stepper
className="max-w-lg"
current={1}
steps={[
{ title: "Account", description: "Email and password" },
{ title: "Workspace", description: "Name your team" },
{ title: "Invite", description: "Add teammates" },
]}
/>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
| steps | { title: string; description?: string }[] | — | Steps in order. Required. |
| current | number | — | Index of the current step. Earlier steps are complete. Required. |
| orientation | "horizontal" | "vertical" | "horizontal" | Layout direction. |
All <ol> props except children.
lucide-react and Tailwind CSS v4. Works in Server Components.vertical on narrow screens or for long step descriptions.aria-current="step" and finished steps say “(completed)”.Unknown registry "@venusui"npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.No components.json foundnpx shadcn@latest init in your project first.A station clock whose needle waits at twelve; drag the minute hand to set it by hand.
Tabs with a sliding underline and fading panels, following the WAI-ARIA tabs pattern.
Overlapping avatars with a +N counter that spread apart on hover.