Forms
Radio Group
A set of mutually exclusive options. Built on Base UI primitives with keyboard navigation and focus management.
Import
import {
RadioGroup,
RadioGroupItem,
} from "@mikenotthepope/substrateui"Composition
RadioGroup
└── RadioGroupItemAPI Reference
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | The controlled value of the selected radio item. |
onValueChange | (value: string) => void | — | Callback fired when the selected value changes. |
defaultValue | string | — | The default value when uncontrolled. |
disabled | boolean | false | When true, disables all radio items in the group. |