Components
Radio
Individual radio button. Must be used within a RadioGroup.
Usage
Best practices
A
Radioonly works inside aRadioGroup(it renders a Base UIRadio.Root) - the group owns selection; a standaloneRadiowon't toggle.Give every
Radioa uniquevalueand pair it with aLabel- or useRadioGroupItem, which bundles the radio and its wired label.For selectable-card options rather than plain dots, use
RadioCardGroup.
Props
Also exports
- type
RadioProps - const
radioVariants
Composition
Used by