Radio button
Use radio buttons when the user can choose a single option from a list of mutually exclusive choices. Only one radio button can be selected at a time. By default, one radio button is preselected. When the user selects another option, the previous selection is automatically deselected.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-radio
Design assets
Use these links to open the component in Figma. The design library is where the component comes from, and the design specification gives detailed guidance on layout, behavior and usage. Use them to keep your designs consistent and accurate.
Design asset (opens in a new tab)The component in the Soul Figma library.Design specification (opens in a new tab)The detailed specification of the component in Figma.
Dev assets
Open the component in Storybook, where you'll find a developer preview, documentation and the complete setup. Use it to build a consistent and robust implementation.