Countdown
CoreA launch countdown with rolling digits that morphs into a live state at zero.
pnpm dlx shadcn@latest add https://wui.alann.works/r/countdown.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
target* | Date | number | string | required |
timeZone | string | — |
units | CountdownUnit[] | — |
variant | "large" | "compact" | — |
completeLabel | ReactNode | — |
onComplete | () => void | — |
label | string | — |
clock | () => number | — |
ref | Ref<HTMLDivElement> | — |
className | string | — |