A radio group with roving tabindex and a dot morph selection indicator.
Dependencies
Interaction Type
Click or use arrow keys to select. One radio at a time.
Props
Options you can pass to customize this component.
valueControlled selected value.
onValueChangeCalled on selection.
nameForm field name.
Installation
How to use
<RadioGroup value={size} onValueChange={setSize}>
<RadioItem value="small" label="Small" />
<RadioItem value="large" label="Large" />
</RadioGroup>Source Code
Click the code icon in the top-right corner to view the source code.
License & Usage
// No code loaded.