Radio
Exclusive selections. Clear visual state. Prevent user errors.
Installation
pnpm dlx nachui add radioAnatomy
Variants
Default
With Label
Radio component alongside a label for context. The
name attribute is used to group the options.Send activity email
One email per event.
Everything from the last 24 hours, at 8:00.
Monday mornings only.
Disabled
A disabled state stops interactions.
Data region
Current region, set when the workspace was created.
Moving regions requires a support request.
API Reference
Radio
| Prop | Type | Default | Description |
|---|---|---|---|
onCheckedChange | (checked: boolean) => void | - | Callback when checked state changes |
disabled | boolean | - | Disables the radio |
name | string | - | Name of the radio group |
Found something to improve?
Notice a bug, typo, or missing detail on this page? Help us make the documentation better by opening a GitHub issue.