Skip to content
N

number-flow

React component for number transitions and formatting

Open source

Domain Rating by Ahrefs59

#1529in UI Libraries
0In stores

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 ne…

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

L

@leenguyen/react-flip-clock-countdown

A 3D animated countdown component for React

UI Libraries
Launch
M

motion-lexicon

Open-source shadcn registry of animated React components, page blocks

UI Libraries
Launch
S

Sona UI

Animated React components you fully own

UI Libraries
Launch
F

flowbite-react

Official React components built for Flowbite and Tailwind CSS

UI Libraries
Launch
O

Odyssey UI

Animated React components built on shadcn

UI Libraries
Launch
R

react-charty

Data Visualization Component

UI Libraries
Launch

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

Developer Stuff

Badges