daformat / react-number-flow-input
PublicA zero-dependency React component that renders an animated number-flow like number input
React Number Flow Input is a React component that creates animated number input fields. When users type numbers, each digit animates in with a smooth rolling effect. The component supports locale-aware formatting (automatically adding commas or other separators based on the user's country), works with native HTML forms, and can be used as a controlled or uncontrolled component. It has zero runtime dependencies beyond React itself and includes comprehensive testing.
How It Works
You find a React component that makes number fields feel alive, with digits that roll and flow as you type.
With one simple command, the component installs and is ready to use in your React application.
You drop the component into your checkout, settings, or data-entry screen where you need a number field.
When someone types a number, each digit animates smoothly—like wheels spinning into position.
Numbers adapt to how people write them in different countries—dots, commas, or spaces.
Numbers appear clean and unformatted, just as typed.
When the form is submitted, the number works perfectly with your backend—just like a regular input.
Everyone who uses your form enjoys typing numbers that animate smoothly and format automatically.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.