Slot text
CoreText and numbers that spin into their new value on staggered slot machine reels.
pnpm dlx shadcn@latest add https://wui.alann.works/r/slot-text.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
value* | string | number | required |
format | (value: number) => string | — |
duration | number | — |
stagger | number | — |
spins | number | — |
align | "start" | "end" | — |
announce | boolean | — |
className | string | — |
style | CSSProperties | — |