Radio Group
Live Editor
function RadioGroupDemo() { return ( <ThemeProvider> <RadioGroup name="priority" value="high" orientation="vertical" variant="card" options={[ { value: 'low', label: 'Low' }, { value: 'medium', label: 'Medium' }, { value: 'high', label: 'High', description: 'Escalate immediately' } ]} onValueChange={(detail) => console.log(detail.value)} /> </ThemeProvider> ); }
Result
Loading...
Key Props
value, disabled, required, name, orientation, variant, size, tone, options, onValueChange
Notes
- Prefer the
optionsprop for data-driven groups, or pass custom child markup directly.