{"id":3968,"url":"https://github.com/bartgryszko/react-native-circular-progress","last_synced_at":"2026-04-21T06:01:43.178Z","repository":{"id":1877155,"uuid":"45049186","full_name":"bartgryszko/react-native-circular-progress","owner":"bartgryszko","description":"React Native component for creating animated, circular progress with ReactART","archived":false,"fork":false,"pushed_at":"2025-08-13T10:49:09.000Z","size":6383,"stargazers_count":2236,"open_issues_count":74,"forks_count":426,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-10-23T00:03:09.053Z","etag":null,"topics":["animation","circle","fill","progress","react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bartgryszko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-10-27T15:09:33.000Z","updated_at":"2025-10-21T05:29:21.000Z","dependencies_parsed_at":"2023-02-10T20:46:10.731Z","dependency_job_id":"f8f67453-b6a0-4c06-9316-87614a56e2d8","html_url":"https://github.com/bartgryszko/react-native-circular-progress","commit_stats":{"total_commits":163,"total_committers":61,"mean_commits":"2.6721311475409837","dds":0.8282208588957055,"last_synced_commit":"a93b501aea40306126c8ede72089741eead52308"},"previous_names":["bgryszko/react-native-circular-progress"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bartgryszko/react-native-circular-progress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartgryszko%2Freact-native-circular-progress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartgryszko%2Freact-native-circular-progress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartgryszko%2Freact-native-circular-progress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartgryszko%2Freact-native-circular-progress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartgryszko","download_url":"https://codeload.github.com/bartgryszko/react-native-circular-progress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartgryszko%2Freact-native-circular-progress/sbom","scorecard":{"id":226295,"data":{"date":"2025-08-11","repo":{"name":"github.com/bartgryszko/react-native-circular-progress","commit":"ad55db33198190c8fd89a814b604f98d505784af"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":8,"reason":"Found 13/16 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"65 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-4xcv-9jjx-gfj3","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-4cpg-3vgw-4877","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-7f53-fmmv-mfjv","Warn: Project is vulnerable to: GHSA-2j79-8pqc-r7x6","Warn: Project is vulnerable to: GHSA-36j3-xxf7-4pqg","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-gff7-g5r8-mg8m","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v","Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx","Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p","Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3","Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442","Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc","Warn: Project is vulnerable to: GHSA-rqff-837h-mm52","Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2","Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j","Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-h6q6-9hqw-rwfv","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T03:53:28.042Z","repository_id":1877155,"created_at":"2025-08-17T03:53:28.043Z","updated_at":"2025-08-17T03:53:28.043Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32079517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","circle","fill","progress","react-native"],"created_at":"2024-01-05T20:16:57.070Z","updated_at":"2026-04-21T06:01:43.173Z","avatar_url":"https://github.com/bartgryszko.png","language":"JavaScript","funding_links":[],"categories":["Components","React Native","JavaScript"],"sub_categories":["UI","Special use case libraries"],"readme":"# react-native-circular-progress\n\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()\n[![Version](https://img.shields.io/npm/v/react-native-circular-progress.svg)](https://www.npmjs.com/package/react-native-circular-progress)\n[![npm](https://img.shields.io/npm/dt/react-native-circular-progress.svg)](https://www.npmjs.com/package/react-native-circular-progress)\n\n\nReact Native component for creating animated, circular progress. Useful for displaying users points for example.\n\n## Example app\n\n![image](screenshot.gif)\n\n## Installation\n\n1. Install this component and `react-native-svg`:\n\n    `npm i --save react-native-circular-progress react-native-svg`\n\n2. Link native code for SVG:\n\n    `react-native link react-native-svg`\n\n## Usage\n```js\nimport { AnimatedCircularProgress } from 'react-native-circular-progress';\n\n\u003cAnimatedCircularProgress\n  size={120}\n  width={15}\n  fill={100}\n  tintColor=\"#00e0ff\"\n  onAnimationComplete={() =\u003e console.log('onAnimationComplete')}\n  backgroundColor=\"#3d5875\" /\u003e\n```\n\nYou can also define a function that'll receive current progress and for example display it inside the circle:\n\n```jsx\n\u003cAnimatedCircularProgress\n  size={200}\n  width={3}\n  fill={this.state.fill}\n  tintColor=\"#00e0ff\"\n  backgroundColor=\"#3d5875\"\u003e\n  {\n    (fill) =\u003e (\n      \u003cText\u003e\n        { this.state.fill }\n      \u003c/Text\u003e\n    )\n  }\n\u003c/AnimatedCircularProgress\u003e\n```\n\nYou can also define a function that'll receive the location at the top of the progress circle and render a custom SVG element:\n\n```jsx\n\u003cAnimatedCircularProgress\n  size={120}\n  width={15}\n  fill={100}\n  tintColor=\"#00e0ff\"\n  backgroundColor=\"#3d5875\"\n  padding={10}\n  renderCap={({ center }) =\u003e \u003cCircle cx={center.x} cy={center.y} r=\"10\" fill=\"blue\" /\u003e}\n  /\u003e\n```\n\nFinally, you can manually trigger a duration-based timing animation by putting a ref on the component and calling the `animate(toValue, duration, easing)` function like so:\n\n```jsx\n\u003cAnimatedCircularProgress\n  ref={(ref) =\u003e this.circularProgress = ref}\n  ...\n/\u003e\n```\n\n```js\nthis.circularProgress.animate(100, 8000, Easing.quad); // Will fill the progress bar linearly in 8 seconds\n```\n\nThe `animate`-function returns the timing animation so you can chain, run in parallel etc.\n\n## Configuration\n\nYou can configure the CircularProgress-component by passing the following props:\n\nName                  | Type                   | Default value           | Description\n----------------------|------------------------|-------------------------|--------------\nsize                  | number\\|Animated.Value | **required**            | Width and height of circle\nwidth                 | number                 | **required**            | Thickness of the progress line\nbackgroundWidth       | number                 | width                   | Thickness of background circle\nfill                  | number (0-100)         | 0                       | Current progress / fill\ntintColor             | string                 | black                   | Color of the progress line\ntintColorSecondary    | string                 | black                   | Secondary color of the progress line\ntintTransparency      | boolean                | true                    | Transparency of the progress line\nbackgroundColor       | string                 |                         | If unspecified, no background line will be rendered\nrotation              | number (-360 - 360)    | 90                      | Angle from which the progress starts from\nlineCap               | string                 | butt                    | Shape used at ends of progress line. Possible values: butt, round, square\narcSweepAngle         | number (0-360)         | 360                     | If you don't want a full circle, specify the arc angle\nstyle                 | ViewPropTypes.style    |                         | Extra styling for the main container\nchildren              | function               |                         | Pass a function as a child. It received the current fill-value as an argument\nchildrenContainerStyle| ViewPropTypes.style    |                         | Extra styling for the children container\npadding               | number                 | 0                       | Padding applied around the circle to allow for a cap that bleeds outside its boundary\ndashedBackground      | object                 | { width: 0, gap: 0 }    | Bar background as dashed type\ndashedTint            | object                 | { width: 0, gap: 0 }    | Bar tint as dashed type\nrenderCap             | function               | undefined               | Function that's invoked during rendering to draw at the tip of the progress circle\n\nThe following props can further be used on `AnimatedCircularProgress`:\n\nName                | Type                   | Default value           | Description\n--------------------|------------------------|-------------------------|--------------\nprefill             | number (0-100)         | 0                       | Initial fill-value before animation starts\nduration            | number                 | 500                     | Duration of animation in ms\ndelay               | number                 | 0                       | Delay of animation in ms\neasing              | function               | Easing.out(Easing.ease) | Animation easing function\nonAnimationComplete | function               |                         | Function that's invoked when the animation completes (both on mount and if called with `.animate()`)\nonFillChange        | function               |                         | Function that returns current progress on every change\ntintColorSecondary  | string                 | the same as tintColor   | To change fill color from tintColor to tintColorSecondary as animation progresses\n\n`AnimatedCircularProgress` also exposes the following functions:\n\nName        | Arguments                                                           | Description\n------------|-----------                                                          |----------------\nanimate     | (toVal: number, duration: number, ease: function)                   | Animate the progress bar to a specific value\nreAnimate   | (prefill: number, toVal: number, duration: number, ease: function)  | Re-run animation with a specified prefill-value\n\n## Running example app (Expo)\n\n```sh\ngit clone https://github.com/bgryszko/react-native-circular-progress.git\ncd react-native-circular-progress/example-app\nyarn\nyarn start\n```\n\n## Authors\n\n* Bartosz Gryszko (b@gryszko.com)\n* Markus Lindqvist\n* Jacob Lauritzen\n* Special thanks to all contributors!\n\n## License\n\nMIT\n\n## Special thanks\n\nSpecial thanks to [Chalk+Chisel](http://chalkchisel.com) for creating working environment where people grow. This component was created for one of the projects we're working on.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartgryszko%2Freact-native-circular-progress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartgryszko%2Freact-native-circular-progress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartgryszko%2Freact-native-circular-progress/lists"}