Number Ticker
A number whose digits roll to each new value. Intl formatting for currency, percent and compact numbers.
OriginalsDumb extras
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.
NumberTicker
| Prop | Type | Default |
|---|---|---|
| valueextra | numberThe number to show. Changes roll digit by digit. | - |
| formatextra | Intl.NumberFormatOptionsCurrency, percent, compact notation, decimals. | - |
| localesextra | Intl.LocalesArgumentLocale for formatting. | "en-US" |
| animateOnMountextra | booleanRoll up from zero on first render. | true |