{"id":13823018,"url":"https://github.com/zzarcon/react-circle","last_synced_at":"2025-05-15T09:00:23.142Z","repository":{"id":31258660,"uuid":"127385649","full_name":"zzarcon/react-circle","owner":"zzarcon","description":"Renders a svg circle + progress, it just works 💘","archived":false,"fork":false,"pushed_at":"2022-12-08T18:17:40.000Z","size":6504,"stargazers_count":961,"open_issues_count":33,"forks_count":52,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-05-06T08:07:41.244Z","etag":null,"topics":["animation","circle","loading","percentage","progress","react","spinner","svg"],"latest_commit_sha":null,"homepage":"https://zzarcon.github.io/react-circle","language":"TypeScript","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/zzarcon.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":"2018-03-30T05:32:04.000Z","updated_at":"2025-04-16T21:36:23.000Z","dependencies_parsed_at":"2023-01-14T18:45:30.157Z","dependency_job_id":null,"html_url":"https://github.com/zzarcon/react-circle","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-circle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-circle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-circle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzarcon%2Freact-circle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzarcon","download_url":"https://codeload.github.com/zzarcon/react-circle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310509,"owners_count":22049467,"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":["animation","circle","loading","percentage","progress","react","spinner","svg"],"created_at":"2024-08-04T08:02:30.266Z","updated_at":"2025-05-15T09:00:23.114Z","avatar_url":"https://github.com/zzarcon.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"demo.gif\" alt=\"Logo\" width=\"800\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n# react-circle [![Build Status](https://travis-ci.org/zzarcon/react-circle.svg?branch=master)](https://travis-ci.org/zzarcon/react-circle)\n\n\u003e Renders a svg circle + percentage. It just works\n\n# Demo\n\n[https://zzarcon.github.io/react-circle](https://zzarcon.github.io/react-circle/)\n\n# Install 🚀\n\n```bash\n$ yarn add react-circle\n```\n\n# Usage ⛏\n\n**Basic** 🙃\n\nReactCircle is opinionated and comes with default size and colors, just pass the **progress** prop to get them:\n\n```javascript\nimport Circle from 'react-circle';\n\n\u003cCircle\n  progress={35}\n/\u003e\n```\n\n**Custom** 💅\n\nOptionally, you can pass the following props and customize it as your will\n\n```javascript\nimport Circle from 'react-circle';\n\n// All avaliable props for customization(illustrated by default values):\n// Details are ordered as: `\u003cType\u003e: \u003cDescription\u003e`\n\u003cCircle\n  animate={true} // Boolean: Animated/Static progress\n  animationDuration=\"1s\" // String: Length of animation\n  responsive={false} // Boolean: Make SVG adapt to parent size\n  size=\"100\" // String: Defines the size of the circle.\n  lineWidth=\"25\" // String: Defines the thickness of the circle's stroke.\n  progress=\"0\" // String: Update to change the progress and percentage.\n  progressColor=\"rgb(76, 154, 255)\" // String: Color of \"progress\" portion of circle.\n  bgColor=\"#ecedf0\" // String: Color of \"empty\" portion of circle.\n  textColor=\"#6b778c\" // String: Color of percentage text color.\n  textStyle={{\n    font: 'bold 4rem Helvetica, Arial, sans-serif' // CSSProperties: Custom styling for percentage.\n  }}\n  percentSpacing={10} // Number: Adjust spacing of \"%\" symbol and number.\n  roundedStroke={false} // Boolean: Rounded/Flat line ends\n  showPercentage={true} // Boolean: Show/hide percentage.\n  showPercentageSymbol={true} // Boolean: Show/hide only the \"%\" symbol.\n/\u003e\n```\n\n# Features\n\n* No external dependencies\n* No external styles\n* 2KB size =\u003e https://bundlephobia.com/result?p=react-circle","funding_links":[],"categories":["TypeScript","React"],"sub_categories":["React Components"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzarcon%2Freact-circle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzarcon%2Freact-circle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzarcon%2Freact-circle/lists"}