Description
React Flip Numbers is a React component that shows numbers flipping in 3D, for example to animate a counter or a score. You pass the number as a string, along with the height, width and colour of each digit, and set play to true to start the animation. Optional props set a background colour, the CSS perspective for the 3D effect, inline styles for the digits, and inline styles for characters that are not digits, such as commas, dots and colons. You can also set the duration and delay of the transition. The package installs from npm. The README includes a quickstart example and a table of props that shows which ones are required. The project is open source and hosted on GitHub, and the README describes the component as simple to use.…
Highlights
- Numbers flip in 3D with one React component
- Set height, width and colour for each digit
- Style digits and separators separately
- Control perspective, duration and delay
- Installs from npm
Ratings & Reviews
No ratings yet
Be the first to rate React Flip Numbers.
People also visit
JDFlipNumberView
[iOS] Animated analog flip numbers like airport/train-station displays
React Flip Numbers FAQ
What is it?
A React component that animates numbers flipping in 3D.
How do I install it?
Run npm install react-flip-numbers in your project.
Which props are required?
The API table marks numbers, play, height, width and color as required.
Can I style the separators?
Yes. The nonNumberStyle prop takes inline CSS for characters that are not digits, such as commas, dots and colons.
Is it open source?
Yes. The source is on GitHub.
What are the best React Flip Numbers alternatives?
Popular alternatives to React Flip Numbers include Number Flip, JDFlipNumberView and @sfinterface/numbers. See all React Flip Numbers alternatives







