Components
Radio Group
Single-select choices with long-label rows. The highlight follows the pointer and the keyboard, and all options stay visible without opening a popup.
Email and SMS; full ledger and receipts
In-person at the hall only; no digital channel
Usage
Mutually exclusive choices with labels that need more than a few words.
Do and don't
- Do. Keep every option visible and use value plus onValueChange.
- Don't. Use it for independent checks or more than seven options.
Composition
Each option is a RadioItem with a required label and index. Use FieldSet and FieldLegend when the group needs a visible question.
Props
value+onValueChange(value: string); recommended, controlled by string value.selectedIndex; position-based control, paired withRadioItem index=.- Per-item
selected+onSelect; uncontrolled per-item selection. size="default" | "compact"; 36px or 28px rows. Omit to follow the surrounding size context.
Related
Shares row sizing with Checkbox and field wiring with Text Field. Highlight and focus colors come from Colors.