Copy a prompt for your AI coding tool with the source, dependencies and usage
Props
NumberTickerProps
Also accepts all props of React.ComponentProps<"span">
| Prop | Type | Default | Description |
|---|---|---|---|
| value* required | number | — | — |
| from | number | 0 | Number the count starts from |
| duration | number | 2 | Seconds the count takes |
| decimals | number | 0 | — |
| prefix | string | "" | — |
| suffix | string | "" | — |
| locale | string | "en-US" | BCP 47 locale for digit grouping |
Install
$ npx shadcn@latest add https://chromotion.dev/r/number-ticker.jsonThe CLI installs the base component; your customizations live in the code generated on the Customize tab.