Radio
Markdown for agentsNative radio buttons grouped for mutually exclusive choices.
npx slipstream-ui@latest add radioUsage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | The value this item contributes to the group. |
| label | string | — | Visible label rendered next to the radio. |
| legend | string | — | Accessible group label (RadioGroup component). |
Accessibility
- RadioGroup renders a fieldset with a legend so the group name is announced.
- Native arrow-key navigation within the group.