Gathering detailed insights and metrics for @2hats/react-native-circular-progress
Gathering detailed insights and metrics for @2hats/react-native-circular-progress
Gathering detailed insights and metrics for @2hats/react-native-circular-progress
Gathering detailed insights and metrics for @2hats/react-native-circular-progress
React Native component for creating animated, circular progress with ReactART
npm install @2hats/react-native-circular-progress
Typescript
Module System
Node Version
NPM Version
JavaScript (67.61%)
TypeScript (32.39%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,221 Stars
247 Commits
426 Forks
21 Watchers
16 Branches
53 Contributors
Updated on Jul 05, 2025
Latest Version
0.1.2
Package Id
@2hats/react-native-circular-progress@0.1.2
Size
119.71 kB
NPM Version
5.3.0
Node Version
8.1.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
React Native component for creating animated, circular progress with ReactART. Useful for displaying users points for example. Works on iOS & Android.
Looking for a circular slider? Take a look at my other component – react-native-circular-slider :alarm_clock:
npm i --save react-native-circular-progress
node_modules/react-native/Libraries/ART/ART.xcodeproj
Import CircularProgress or AnimatedCircularProgress.
1import { AnimatedCircularProgress } from 'react-native-circular-progress';
Use as follows:
1<AnimatedCircularProgress 2 size={120} 3 width={15} 4 fill={100} 5 tintColor="#00e0ff" 6 backgroundColor="#3d5875" />
You can also define a function, that'll receive current progress and for example display it inside the circle:
1<AnimatedCircularProgress 2 size={200} 3 width={3} 4 fill={this.state.fill} 5 tintColor="#00e0ff" 6 backgroundColor="#3d5875"> 7 { 8 (fill) => ( 9 <Text style={styles.points}> 10 { this.state.fill } 11 </Text> 12 ) 13 } 14</AnimatedCircularProgress>
Finally, you can manually trigger a duration-based timing animation by putting a ref on the component and calling the performLinearAnimation(toValue, duration)
function like so:
1<AnimatedCircularProgress 2 ref='circularProgress' 3 ... 4/>
1this.refs.circularProgress.performLinearAnimation(100, 8000); // Will fill the progress bar linearly in 8 seconds
You can configure the passing by following props:
You can find working example in the example
directory of this repository. You can run it by:
1git clone https://github.com/bgryszko/react-native-circular-progress.git 2cd react-native-circular-progress/example/ProgressChart 3npm install 4open ios/ProgressChart.xcodeproj
XCode will open. Click Run button and that's it.
Open your emulator and run:
1git clone https://github.com/bgryszko/react-native-circular-progress.git 2cd react-native-circular-progress/example/ProgressChart 3npm install 4react-native run-android
Bartosz Gryszko (b@gryszko.com)
For new components and updates follow me on twitter.
MIT
Special thanks to Chalk+Chisel for creating working environment where people grow. This component was created for one of the projects we're working on.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 13/16 approved changesets -- score normalized to 8
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
63 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More