A set of options where only one can be selected.
string |
| – |
Identifies the form that owns the radio inputs. Useful when the radio group is rendered outside the form. |
inputRef | Ref<HTMLInputElement> | – | A ref to access the hidden input element. |
name | string | – | Identifies the field when a form is submitted. |
onValueChange | ((value: Value, eventDetails: RadioGroup.ChangeEventDetails) => void) | – | Callback fired when the value changes. |
readOnly | boolean | false | Whether the user should be unable to select a different radio button in the group. |
required | boolean | false | Whether the user must choose a value before submitting a form. |
value | any | – | The controlled value of the radio item that should be currently selected. To render an uncontrolled radio group, use the |
Whether the component should ignore user interaction. |
inputRef | Ref<HTMLInputElement> | – | A ref to access the hidden input element. |
nativeButton | boolean | false | Whether the component renders a native |
readOnly | boolean | – | Whether the user should be unable to select the radio button. |
required | boolean | – | Whether the user must choose a value before submitting a form. |
variant | "default"|"diamond"|"expressive"|"sharp" | default | The visual style of the component. |