RadioGroup
A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.
Size
Default size is medium
Disabled
Error
API Reference
Root
React.ComponentPropsWithRef<div>Prop | Type | Default |
---|---|---|
size | sm | md | lg | md |
disabled | boolean | false |
error | boolean | false |
value | string | _ |
onValueChange | (value: string) => void | _ |
orientation | horizontal | vertical | horizontal |
Item
React.ComponentPropsWithRef<div>Prop | Type | Default |
---|---|---|
value | string | _ |
disabled | boolean | false |