0components

Number Ticker

Counts up to a value the first time it scrolls into view.

Text
0components

Installation

bash
npx shadcn@latest add https://ui.noicess.fun/r/number-ticker.json

Props

PropTypeDefaultDescription
valuenumber0Target value to count up to.
decimalsnumber0Decimal places to display.
prefix / suffixstring""Text placed before or after the number.
durationnumber2Seconds the count takes.