Domain Rating
by Ahrefs
Domain Rating by Ahrefs59
Description
NumberFlow is a React component that animates a number when its value changes. You render it with a value prop, and it transitions to the new number on its own. It formats numbers with Intl.NumberFormatOptions and locales, and it has prefix and suffix props, timing settings, and an isolate option for separate groups of numbers. The docs describe it as dependency-free and accessible, and by default it respects the user's reduced-motion preference, which you can turn off. You can also set digit limits and add plugins. The package is imported from @number-flow/react. The site includes examples, a showcase and a short note from its creator about the UI animation course that taught him the techniques behind it. It is for React developers who want animated counters, prices or statistics without writing their own transition code.…
Highlights
- Animated number transitions in React
- Formats numbers with Intl options
- Prefix, suffix and digit settings
- Respects the reduced-motion preference
- Dependency-free, with a plugin option
Ratings & Reviews
No ratings yet
Be the first to rate number-flow.
People also visit
motion-lexicon
Open-source shadcn registry of animated React components, page blocks
number-flow FAQ
What is NumberFlow?
A React component that animates a number when its value changes. You import it from the @number-flow/react package.
Does it need other libraries?
No. The docs describe the component as dependency-free.
Is it accessible?
The docs describe it as accessible. It respects the reduced-motion preference by default, and you can turn that off with a prop.
Can I format the numbers?
Yes. The format prop takes Intl.NumberFormatOptions, for example compact notation, and you can set locales, prefixes and suffixes.
Where is the source code?
It is on GitHub at barvian/number-flow, where you can also open issues and discussions.
What are the best number-flow alternatives?
Popular alternatives to number-flow include @leenguyen/react-flip-clock-countdown, motion-lexicon and Sona UI. See all number-flow alternatives








