# NumberFlow

> An animated number component: digits roll smoothly when the value changes. For React, Vue, Svelte and plain JavaScript.

Canonical page: https://sitepeel.dev/resources/numberflow/

Website: https://number-flow.barvian.me/

Category: Motion. Access: Open source.

## 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

## More like this

- [Lenis](https://sitepeel.dev/resources/lenis/index.md): Smooth scrolling for websites in one line of JavaScript, the kind used on many agency and award sites. Works with React and Vue.
- [mewo](https://sitepeel.dev/resources/mewo/index.md): 34 animated React components and sections, like 3D carousels and spotlight cards, each with a panel to adjust it before installing.
- [Effect Atlas](https://sitepeel.dev/resources/effect-atlas/index.md): 53 web motion effects, like magnetic cursors, menu reveals and page transitions, each with full code your AI can build from.

All resources: https://sitepeel.dev/resources/index.md. Checked on 2026-12-05.
