Components / Text animationsv1.0.0 · updated 2026-10-09
Count Up
Free · MITCounts from zero to the target over 72 frames on the arrival curve when 60% of it is visible. Tabular figures keep the width steady while digits change.
numbersstatsscroll
0+Launches shipped
Customize
Accent
Install
$ npm install motion- Copy
Stat.tsxfrom the Code tab intocomponents/brazen/. - Make sure the Brazen tokens are loaded (
tokens.css); colours and timing come from them. - Import it and pass the props below.
Props 4
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | — | Target number. |
label | string | — | Caption under the number. |
prefix | string | — | Shown before the number. |
suffix | string | — | Shown after, in the hot colour. |
Features
- Runs once in view
- Prefix and suffix
- Decimal support
Dependencies
motion@^14.0.0react@>=19peer
Works with
- React 19
- Next.js 15+
- TypeScript
Reduced motion
Shows the final value immediately.