Loading preview
Analog Clock
Data displayA station clock whose needle waits at twelve; drag the minute hand to set it by hand.
A rotary card file that tumbles through contacts by scroll, drag, keys or letter tabs.
npx shadcn@latest add @venusui/rolodexRun 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/rolodex.tsxThe code behind the preview above.
rolodex-demo.tsx
import { Rolodex } from "@/components/ui/rolodex"
export default function RolodexDemo() {
return (
<Rolodex
cards={[
{ name: "Amara Diallo", role: "Radio producer", phone: "+1 555 0142", email: "amara@example.com" },
{ name: "Elias Brandt", role: "Lighthouse keeper", phone: "+1 555 0188", note: "Call after the storm" },
{ name: "Hugo Martin", role: "Master baker", email: "hugo@example.com" },
{ name: "Lena Okafor", role: "Oceanographer", phone: "+1 555 0127", email: "lena@example.com" },
{ name: "Noor Rahman", role: "Piano tuner", phone: "+1 555 0163" },
{ name: "Sofia Lindgren", role: "Glacier guide", email: "sofia@example.com" },
]}
/>
)
}
| Prop | Type | Default | Description |
|---|---|---|---|
| cards | { name: string; role?: string; phone?: string; email?: string; note?: string }[] | — | Cards, in the order you want them. |
| defaultIndex | number | 0 | Card shown first. |
| onCardChange | (card, index) => void | — | Called when the front card changes. |
All <div> props.
lucide-react for icons. React 19 and Tailwind CSS v4.cards alphabetically so the letter tabs read in order.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.
Books on a wooden shelf whose spines lift on hover and pull out when selected, with a matching cover.
A messaging conversation that plays out with typing indicators; viewers can send replies too.