NumberFlow

Animated number component for React, Vue and Svelte.

The NumberFlow website, as captured on 21 Nov 2026
Screenshot of number-flow.barvian.me, 21 Nov 2026
Best for
React, Vue or Svelte interfaces with counters, prices or stats where changing values should animate smoothly.
Main limitation
One component only; scientific notation, non-Latin digits and right-to-left locales are not supported.
Free option
Free forever · MIT
Rights
Commercial use · No credit needed
Last checked
21 Nov 2026

Plans and rights

FactOpen sourceBest free option
PriceFree
Free accessFree forever1
LicenseMIT21
Commercial useAllowed3
Visible creditNot required4
License noticeKeep license with files4
Client workAllowed3
Resell as a templateAllowed3
Checked21 Nov 2026

Sources

  1. Permission is hereby granted, free of charge, to any person obtaining a copy

    raw.githubusercontent.com · Checked 25 Nov 2026

  2. MIT license

    github.com · Checked 25 Nov 2026

  3. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

    raw.githubusercontent.com · Checked 25 Nov 2026

  4. The above copyright notice and this permission notice shall be included in all

    raw.githubusercontent.com · Checked 25 Nov 2026

Summary of the vendor's terms as checked on the dates shown. Not legal advice; read the license before you ship. Report an inaccuracy

About NumberFlow

NumberFlow is a component that animates changes to a number, rolling each digit and adapting to formatting such as currency, percentages and compact notation. The site documents React, Vue and Svelte versions, with props for trend, formatting and animation callbacks, styling through exposed CSS parts, and server-rendering support including CSP nonces. The GitHub description says it also works in plain TypeScript or JavaScript. It is a single focused component rather than a full kit, written and maintained by Max Barvian.

How it compares

Scritto and Rolling Number are the nearest alternatives. Scritto animates text in place, rolling only the changed characters, so it covers words and emoji as well as numbers, with packages for React, Vue, Svelte and Solid, though its site does not state a license or price. Rolling Number is an MIT TypeScript library with a React adapter that retargets digits when a change arrives mid-animation, but it describes no Vue or Svelte package. NumberFlow, also MIT, is the pick for currency, percentage and compact formatting in React, Vue or Svelte.

Tool
React

Questions

Is NumberFlow free?

Yes. The Open source plan is free forever.

Can I use NumberFlow for commercial projects?

Yes, on the Open source plan, according to the vendor's terms as checked on 21 Nov 2026.

Do I need to credit NumberFlow?

No visible credit is needed on the Open source plan. You do need to keep the license notice with the files or code you distribute.

Alternatives

More UI kits
  • Rolling NumberAnimated rolling-number component for React and the webFree.Commercial use · No credit needed
  • Motion PrimitivesBetaAnimated React component kit for Tailwind projectsFree.Commercial use · No credit needed
  • AnnnimateGSAP motion component library for React, Vue and HTMLFree plan + paid.Commercial use
  • Float UITailwind CSS components and website templatesFree.Commercial use
  • Gradient SpinReact loading spinner built from a gradient dot matrixFree.Commercial use · No credit needed