Loading preview
Analog Clock
Data displayA station clock whose needle waits at twelve; drag the minute hand to set it by hand.
A soroban abacus: slide beads to the bar and read the number.
npx shadcn@latest add @venusui/abacusRun 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/abacus.tsxThe code behind the preview above.
abacus-demo.tsx
import { Abacus } from "@/components/ui/abacus"
export default function AbacusDemo() {
return <Abacus />
}
| Prop | Type | Default | Description |
|---|---|---|---|
| rods | number | 6 | Number of digits. |
| defaultValue | number | 2026 | Starting number. |
| onValueChange | (value: number) => void | — | Called on change. |
All <div> props.
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.