Optional
Provide an accessible name for the group as a whole. Radio groups rarely have a visible caption, so setting this is recommended — screen readers announce it when focus enters the group.
`Operating system` Copy
`Operating system`
false Copy
false
Available options that can be selected.
'vertical' Copy
'vertical'
The controlled value of the radio group. Should be used in conjunction with onValueChange.
onValueChange
Called when the user selects an option.
Provide an accessible name for the group as a whole. Radio groups rarely have a visible caption, so setting this is recommended — screen readers announce it when focus enters the group.