{"id":18487145,"url":"https://github.com/JackPu/react-native-percentage-circle","last_synced_at":"2025-04-08T20:30:42.844Z","repository":{"id":54834554,"uuid":"66331682","full_name":"JackPu/react-native-percentage-circle","owner":"JackPu","description":"🐳 React Native Percentage Circle","archived":false,"fork":false,"pushed_at":"2023-03-03T06:37:55.000Z","size":332,"stargazers_count":333,"open_issues_count":33,"forks_count":109,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-04T08:05:02.757Z","etag":null,"topics":["circle","percent","react-native"],"latest_commit_sha":null,"homepage":"","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/JackPu.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}},"created_at":"2016-08-23T03:57:28.000Z","updated_at":"2024-11-05T08:36:16.000Z","dependencies_parsed_at":"2024-06-18T18:38:09.324Z","dependency_job_id":null,"html_url":"https://github.com/JackPu/react-native-percentage-circle","commit_stats":{"total_commits":42,"total_committers":7,"mean_commits":6.0,"dds":0.3571428571428571,"last_synced_commit":"e3985b723f5dae3ace207c8bfc70f9e08214bc71"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freact-native-percentage-circle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freact-native-percentage-circle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freact-native-percentage-circle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freact-native-percentage-circle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackPu","download_url":"https://codeload.github.com/JackPu/react-native-percentage-circle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247922641,"owners_count":21018835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["circle","percent","react-native"],"created_at":"2024-11-06T12:50:15.086Z","updated_at":"2025-04-08T20:30:42.507Z","avatar_url":"https://github.com/JackPu.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# react-native-percentage-circle\n[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)]()\n[![npm](https://img.shields.io/npm/v/react-native-percentage-circle.svg?maxAge=2592000)]()\n\n\n\n\u003cimg width=\"400\" src=\"http://img1.vued.vanthink.cn/vuede4474d80623ab3d17f2ca5aeb1ccd194.png\"/\u003e\n\nReact Native Version \u003e= 0.25\n\nReact-Native-Percentage-Cirlce is a component which supports you define your percent and draw the circle.And also you can use it as a progress bar.And you can show some data in a circle you want.\n\n[react.js version](https://github.com/JackPu/reactjs-percentage-circle)\n\n\u003cimg width=\"480\" src=\"http://img1.vued.vanthink.cn/vued9c00a0a75734849d01def751ca10f248.png\"/\u003e\n\n*This is a screenshot of the Demo*\n\n### Start \n\n``` bash\nnpm i react-native-percentage-circle --save\n\n```\n\n``` js\n\nimport PercentageCircle from 'react-native-percentage-circle';\n\n//...\n\nrender() {\n  \u003cView\u003e\n    \u003cPercentageCircle radius={35} percent={50} color={\"#3498db\"}\u003e\u003c/PercentageCircle\u003e  \n  \u003c/View\u003e\n   \u003cView\u003e\n    \u003cPercentageCircle radius={35} percent={50} color={\"#3498db\"}\u003e\n      \u003cImage style={{width:20,height:20}} source={{require('your image')}} /\u003e\n    \u003c/PercentageCircle\u003e  \n  \u003c/View\u003e\n}\n\n```\n\n### Options\n\n| Props        | Type         | Example  | Description  |\n| ------------- |:-------------:| -----:|----------:|\n| color     | string | '#000' | the color of border |\n| bgcolor     | string | '#e3e3e3' | the background color of the circle  |\n| innerColor     | string | '#fff' | the color of the inside of the circle  |\n| percent      | Number      |  30 | the percent you need |\n| radius | Number     |    20 | how large the circle is |\n| borderWidth | Number(default 2)     |    5 | the width of  percentage progress bar |\n| textStyle | Array   | {fontSize: 24, color: 'red'} | define the style of the text which in the circle |\n| children | jsx   | `\u003cText\u003e123\u003c/Text\u003e` | define the children component in the circle |\n\n### Contributions\n\nYour contributions and suggestions are welcome 😄😄😄\n\n### MIT License\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJackPu%2Freact-native-percentage-circle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJackPu%2Freact-native-percentage-circle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJackPu%2Freact-native-percentage-circle/lists"}