
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
react-radio-buttons-group
Advanced tools
React component for a group of radio buttons built with and for React.

npm install react-radio-buttons-group --save
<ReactRadioButtonsGroup/> with a list of <ReactRadioButton/> components generate a hidden radio inputs that contain checked value, so you can submit it as part of a standard form.
When the value is changed, onChange(inputRadioValue) will fire.
import { ReactRadioButtonsGroup, ReactRadioButton } from 'react-radio-buttons-group';
const RadioButtons = () => (
<ReactRadioButtonsGroup group='sex' onChange={(value) => console.log(value)}>
<ReactRadioButton value='male'>Male 👨</ReactRadioButton>
<ReactRadioButton value='female'>Female đź‘©</ReactRadioButton>
</ReactRadioButtonsGroup>
);
Coming soon...

<ReactRadioButtonsGroup/>| Property | Type | Description |
|---|---|---|
children | function | Child function responsible for rendering the <ReactRadioButton/> components. |
group | string | Field name, for hidden <input /> tags |
onChange | function | Function responsible for handling radio group changes. (inputRadioValue) => { } |
<ReactRadioButton/>| Property | Type | Description |
|---|---|---|
children | function | Child function responsible for rendering the content into the <label>. |
value | string | Attribute value for hidden <input type='radio' /> tag. Also uses as id attribute for <input type='radio' /> and for attribute for <label>. |
FAQs
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.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.