{"id":18689848,"url":"https://github.com/jackpu/reactjs-percentage-circle","last_synced_at":"2025-08-23T15:37:15.818Z","repository":{"id":45491489,"uuid":"84894562","full_name":"JackPu/reactjs-percentage-circle","owner":"JackPu","description":"🐟 a react component to show percentage circle","archived":false,"fork":false,"pushed_at":"2022-09-15T13:36:27.000Z","size":56,"stargazers_count":22,"open_issues_count":3,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T05:53:43.618Z","etag":null,"topics":["circle","percentage","react"],"latest_commit_sha":null,"homepage":"http://events.jackpu.com/reactjs-percentage-circle/","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}},"created_at":"2017-03-14T02:06:45.000Z","updated_at":"2023-04-19T16:51:28.000Z","dependencies_parsed_at":"2022-07-18T23:32:48.156Z","dependency_job_id":null,"html_url":"https://github.com/JackPu/reactjs-percentage-circle","commit_stats":null,"previous_names":["jackpu/react-percentage-circle"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freactjs-percentage-circle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freactjs-percentage-circle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freactjs-percentage-circle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackPu%2Freactjs-percentage-circle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackPu","download_url":"https://codeload.github.com/JackPu/reactjs-percentage-circle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525156,"owners_count":21118616,"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","percentage","react"],"created_at":"2024-11-07T10:45:30.025Z","updated_at":"2025-04-12T05:53:48.909Z","avatar_url":"https://github.com/JackPu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reactjs-percentage-circle\n\n[![npm](https://img.shields.io/npm/v/reactjs-percentage-circle.svg?maxAge=2592000)]()\n![Node Version](https://img.shields.io/node/v/reactjs-percentage-circle.svg \"Node Version\")\n[![Build Status](https://travis-ci.org/JackPu/reactjs-percentage-circle.svg?branch=master)](https://travis-ci.org/JackPu/reactjs-percentage-circle)\n\n\u003cimg width=\"360\" src=\"http://img1.vued.vanthink.cn/vued51984c8d081502c58a7ef5c9bdda81e1.png\"/\u003e\n\nReactjs-percentage-circle 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 Native Version](https://github.com/JackPu/react-native-percentage-circle)\n\n\n\u003cimg width=\"480\" src=\"http://img1.vued.vanthink.cn/vuedc58a98ffa5a82311e9bb654c726e97e8.png\"/\u003e\n\n*This is a screenshot of the Demo*\n\n[Demos](http://events.jackpu.com/reactjs-percentage-circle/index.html)\n\n## Start\n\n### Npm\n\n``` bash\n$ npm i reactjs-percentage-circle --save\n```\n\n### Yarn\n\n``` bash\n$ yarn add reactjs-percentage-circle\n```\n\n``` js\n\nimport PercentageCircle from 'reactjs-percentage-circle';\n\n//...\n\nrender() {\n  \u003cdiv\u003e\n    \u003cPercentageCircle percent={80}\u003e\u003c/PercentageCircle\u003e\n    \u003cPercentageCircle percent={80}\u003e\n      \u003cp\u003eChildren\u003c/p\u003e\n    \u003c/PercentageCircle\u003e\n  \u003c/div\u003e\n}\n\n```\n\n## Props\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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackpu%2Freactjs-percentage-circle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackpu%2Freactjs-percentage-circle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackpu%2Freactjs-percentage-circle/lists"}