Radio
Single-choice sibling of Checkbox. RadioGroup owns selection; checked fill is on-surface (not blue) so the two read as one family.
<RadioGroup
aria-label="Notify via"
defaultValue="email"
options={[
{ value: "email", label: "Email" },
{ value: "sms", label: "SMS" },
{ value: "push", label: "Push" },
]}
/>Up to 5 buildings
Unlimited buildings
<RadioGroup
aria-label="Plan"
defaultValue="standard"
options={[
{ value: "standard", label: "Standard", description: "Up to 5 buildings" },
{ value: "pro", label: "Pro", description: "Unlimited buildings" },
]}
/><RadioGroup
aria-label="View"
orientation="horizontal"
defaultValue="list"
options={[
{ value: "list", label: "List" },
{ value: "grid", label: "Grid" },
]}
/><RadioGroup
aria-label="Disabled example"
disabled
defaultValue="a"
options={[
{ value: "a", label: "Option A" },
{ value: "b", label: "Option B" },
]}
/><RadioGroup
aria-label="Error example"
error
options={[
{ value: "a", label: "Option A" },
{ value: "b", label: "Option B" },
]}
/>value / defaultValue:string | nullSelected value (controlled / uncontrolled).
onChange:(value: string) => voidCalled with the chosen value.
options:RadioGroupOption[]Convenience option set. Alternatively pass <Radio> children.
orientation:"vertical" | "horizontal"= "vertical"Stack or inline the radios.
error / disabled:boolean= falseApplies to every radio in the group.