A React Native component for creating animated, circular progress indicators using SVG. Version 1.4.1 is the latest stable release, with infrequent updates. It leverages react-native-svg for rendering, supports animated transitions, and offers customizable size, width, tint color, background color, line caps, arc sweep angle, and children functions for displaying progress text. Differentiators include a simple API, TypeScript types, and the ability to render caps and manually trigger timing animations via the animate() method. Peer dependencies: react >=16.0.0, react-native >=0.50.0, react-native-svg >=7.0.0.
npm install react-native-circular-progressVerified import paths — ran on the pinned version, not inferred.
Basic usage of AnimatedCircularProgress with required props: size, width, fill, tintColor, and backgroundColor.
Use values between 0 and 100 for fill, e.g., fill={75} for 75%.Replace prePolar with rotation (angle in degrees).
If you were passing React nodes directly, wrap them in a function that receives fill.
Install react-native-svg and run react-native link react-native-svg (for React Native < 0.60). For RN >= 0.60, autolinking should work.
npm install react-native-svg
Either use fill prop to set progress and children as a render function to display current progress, or use children as static content without fill.
Ensure both size and width are provided as numbers. Example: <AnimatedCircularProgress size={120} width={15} />