
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
number-flow-react-native
Advanced tools
Beautiful number animations for React Native: digit-by-digit rolling counter, currency ticker, time display, and odometer with View-based and Skia renderers. Full Intl.NumberFormat support.
The best animated number component for React Native.
Beautiful number animations for React Native with digit-by-digit rolling transitions. Supports currencies, percentages, compact notation, and all Intl.NumberFormat options. Includes a View-based renderer (zero extra deps) and a Skia renderer for canvas-based animation. Built-in TimeFlow for animated clocks, countdowns, and stopwatches. Works with Expo and bare React Native on iOS and Android.
For full docs, examples, and recipes, visit number-flow-react-native.awingender.com.
# npm
npm install number-flow-react-native react-native-reanimated
# bun
bun add number-flow-react-native react-native-reanimated
# expo
npx expo install number-flow-react-native react-native-reanimated
import { useState } from "react";
import { NumberFlow } from "number-flow-react-native";
function PriceDisplay() {
const [price, setPrice] = useState(42.99);
return (
<NumberFlow
value={price}
format={{ style: "currency", currency: "USD" }}
style={{ fontSize: 32, color: "#000" }}
/>
);
}
The default import uses the View-based renderer - no extra dependencies needed. If you need to display numbers in Skia Canvas, use the Skia renderer:
// View-based (default)
import { NumberFlow, TimeFlow } from "number-flow-react-native";
// Skia canvas (requires @shopify/react-native-skia)
import { SkiaNumberFlow, SkiaTimeFlow, useSkiaFont } from "number-flow-react-native/skia";
This library is a complete React Native reimplementation of NumberFlow by Max Barvian. Please check out his work and the original web version.
The animation patterns, easing curves, and digit-rolling approach are adapted from the original web implementation. All code is original, and no source code is shared.
If this library helps you, particularly if you are a big company, consider sponsoring me. Helps a ton, thank you!
MIT
FAQs
Beautiful number animations for React Native: digit-by-digit rolling counter, currency ticker, time display, and odometer with View-based and Skia renderers. Full Intl.NumberFormat support.
The npm package number-flow-react-native receives a total of 2,436 weekly downloads. As such, number-flow-react-native popularity was classified as popular.
We found that number-flow-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.