{"id":20579578,"url":"https://github.com/danilo-89/react-radio-pie","last_synced_at":"2026-04-17T08:05:42.614Z","repository":{"id":177310283,"uuid":"660198318","full_name":"danilo-89/react-radio-pie","owner":"danilo-89","description":"Customizable accessible radio button elements in a circular layout suitable for pie chart visualization in React.","archived":false,"fork":false,"pushed_at":"2023-06-30T14:22:40.000Z","size":454,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T11:47:02.617Z","etag":null,"topics":["buttons","pie-chart","piechart","radio","radio-buttons","react"],"latest_commit_sha":null,"homepage":"https://react-radio-pie.vercel.app","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/danilo-89.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":"2023-06-29T13:14:56.000Z","updated_at":"2023-07-18T09:33:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4caa029-d414-482a-a3ef-13954abfc05a","html_url":"https://github.com/danilo-89/react-radio-pie","commit_stats":null,"previous_names":["danilo-89/react-radio-pie"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/danilo-89/react-radio-pie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilo-89%2Freact-radio-pie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilo-89%2Freact-radio-pie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilo-89%2Freact-radio-pie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilo-89%2Freact-radio-pie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danilo-89","download_url":"https://codeload.github.com/danilo-89/react-radio-pie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilo-89%2Freact-radio-pie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["buttons","pie-chart","piechart","radio","radio-buttons","react"],"created_at":"2024-11-16T06:17:26.859Z","updated_at":"2026-04-17T08:05:42.567Z","avatar_url":"https://github.com/danilo-89.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Radio Pie (react-radio-pie)\n\n![](src/stories/assets/cover.png)\n\n[![npm version](https://badge.fury.io/js/react-radio-pie.svg)](//npmjs.com/package/react-radio-pie)\n\nCustomizable accessible radio button elements in a circular layout suitable for pie chart visualization in React.\n\n## Installation\n\n#### yarn\n\n```\nyarn add react-radio-pie\n```\n\n#### npm\n\n```\nnpm install react-radio-pie\n```\n\n#### pnpm\n\n```\npnpm install react-radio-pie\n```\n\n## Basic example\n\n```javascript\nimport ReactRadioPie, {\n\tReactRadioPieProvider,\n\tReactRadioPieCSS,\n} from 'react-radio-pie';\n\n// load css file\nReactRadioPieCSS();\n\nconst choices = [\n\t{\n\t\tid: 'f21a4d9c',\n\t\tcontent: 'Never',\n\t},\n\t{\n\t\tid: '37e1dfe9',\n\t\tcontent: 'Rarely (once a month or less)',\n\t},\n\t{\n\t\tid: '9dcbf383',\n\t\tcontent: 'Occasionally (a few times a month)',\n\t},\n\t{\n\t\tid: 'a550db7f',\n\t\tcontent: 'Sometimes (once a week or so)',\n\t},\n\t{\n\t\tid: '3d6bba3a',\n\t\tcontent: 'Often (a few times a week)',\n\t},\n\t{\n\t\tid: '2b2d3b03',\n\t\tcontent: 'Very often (almost every day)',\n\t},\n];\n\nexport default function App() {\n\treturn (\n\t\t\u003cReactRadioPieProvider\u003e\n\t\t\t\u003cReactRadioPie id='exampleRadioPie' choices={choices} /\u003e\n\t\t\u003c/ReactRadioPieProvider\u003e\n\t);\n}\n```\n\n## More examples\n\n[Storybook](https://react-radio-pie.vercel.app/?path=/docs/introduction--docs)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilo-89%2Freact-radio-pie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilo-89%2Freact-radio-pie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilo-89%2Freact-radio-pie/lists"}