forms / stable
RadioGroup
Pick exactly one of a few visible options; 16px circles that fill cobalt with a white dot.
LIVE PREVIEW
Loading preview…
When to use
- 2–5 mutually exclusive options that should all be visible (rule type, destination).
Consider an alternative
- More options or tight space — use Select.
- On/off — use Switch or Checkbox.
- Switching views — use segmented Tabs.
Import
import { RadioGroup } from '@revido-llc/kit';Keyboard interaction
- Arrow keys — move and select
- Tab — into / out of the group
Props
Props documented by the Kit. Refer to the TypeScript types for the complete interface, including inherited props.
Related exports
Radio, RadioGroupItem
Examples
Basic
<RadioGroup label="Billing" value={billing} onChange={setBilling}>
<Radio value="hourly">Hourly</Radio>
<Radio value="fixed">Fixed price</Radio>
</RadioGroup>With descriptions
<Radio value="any" description="The parent moves when one child reaches the status.">Any child matches</Radio>Horizontal
<RadioGroup label="Size" orientation="horizontal">…</RadioGroup>Card options (RadioGroupItem)
Bare circles paired with your own `<label htmlFor>` — the Radix-era pattern.
<RadioGroup value={dest} onValueChange={setDest}>
<RadioGroupItem value="create" id="dest-create" />
<label htmlFor="dest-create">Create new project</label>
</RadioGroup>Literal anatomy
Static component anatomy; bind events in the consuming app.
<RadioGroup label="Visibility" defaultValue="team"><RadioGroupItem value="team">Team</RadioGroupItem><RadioGroupItem value="private">Private</RadioGroupItem></RadioGroup>