Loading preview
Analog Clock
Data displayA station clock whose needle waits at twelve; drag the minute hand to set it by hand.
A vertical timeline for changelogs, roadmaps and history.
npx shadcn@latest add @venusui/timelineRun 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/timeline.tsxThe code behind the preview above.
timeline-demo.tsx
import { Timeline } from "@/components/ui/timeline"
export default function TimelineDemo() {
return (
<Timeline
className="max-w-md"
entries={[
{ id: "v3", date: "Nov 2026", dateTime: "2026-11", title: "Version 3.0", description: "3D components and a new docs layout.", current: true },
{ id: "v2", date: "Aug 2026", dateTime: "2026-08", title: "Version 2.0", description: "Blocks for heroes, pricing and footers." },
{ id: "v1", date: "May 2026", dateTime: "2026-05", title: "Version 1.0", description: "First public release." },
]}
/>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
| entries | { id: string; date: string; dateTime?: string; title: ReactNode; description?: ReactNode; current?: boolean }[] | — | Entries, newest first. dateTime fills the <time> element. Required. |
All <ol> props except children.
current to highlight its marker.description.<time> dates and h3 titles. The current entry is announced as “(current)”.pl-6; adjust -left-[1.95rem] if you change the padding.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.
Overlapping avatars with a +N counter that spread apart on hover.
Books on a wooden shelf whose spines lift on hover and pull out when selected, with a matching cover.