NumberFlow
number-flow.barvian.me · Motion · Open source
An animated number component: digits roll smoothly when the value changes. For React, Vue, Svelte and plain JavaScript.
What it is
Change the value prop and each digit slides to its new place. It uses the browser's number formatting, so currencies, percentages, compact numbers and other languages work out of the box. It has no dependencies and respects reduced motion settings.
Is it for you?
- Made for
- Developers who show prices, counters or stats that change on screen.
- You need
- React, Vue, Svelte or plain JavaScript
- Price
- Open source (MIT)
What you can do with it
- Animate a price when people switch monthly and yearly plans
- Show a live counter or stat
- Animate a countdown



