bloxa

Number Ticker

FREE

Counts up to a number when it scrolls into view; localized and reduced-motion aware.

Installation

Terminal
npx @bloxa/cli add number-ticker
# or: npx shadcn@latest add @bloxa/number-ticker

Packages installed automatically: motion

Examples

Number, currency, percent

12,840$128.4098.7%

API reference

Every component also accepts the props of the element it renders.

NumberTicker

PropTypeDefaultDescription
valuenumber—Target number.
fromnumber0Starting value.
durationnumber1.2Duration in seconds.
formatIntl.NumberFormatOptions—Format; locale comes from BloxaProvider.
startOnViewbooleantrueStart when scrolled into view.