Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
react-radio-pie
Advanced tools
Customizable accessible radio button elements in a circular layout suitable for pie chart visualization in React.
Readme
Customizable accessible radio button elements in a circular layout suitable for pie chart visualization in React.
yarn add react-radio-pie
npm install react-radio-pie
pnpm install react-radio-pie
import ReactRadioPie, {
ReactRadioPieProvider,
ReactRadioPieCSS,
} from 'react-radio-pie';
// load css file
ReactRadioPieCSS();
const choices = [
{
id: 'f21a4d9c',
content: 'Never',
},
{
id: '37e1dfe9',
content: 'Rarely (once a month or less)',
},
{
id: '9dcbf383',
content: 'Occasionally (a few times a month)',
},
{
id: 'a550db7f',
content: 'Sometimes (once a week or so)',
},
{
id: '3d6bba3a',
content: 'Often (a few times a week)',
},
{
id: '2b2d3b03',
content: 'Very often (almost every day)',
},
];
export default function App() {
return (
<ReactRadioPieProvider>
<ReactRadioPie id='exampleRadioPie' choices={choices} />
</ReactRadioPieProvider>
);
}
MIT
FAQs
Customizable accessible radio button elements in a circular layout suitable for pie chart visualization in React.
The npm package react-radio-pie receives a total of 12 weekly downloads. As such, react-radio-pie popularity was classified as not popular.
We found that react-radio-pie demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.