Radio Group
Single-select radio button set with keyboard navigation.
Generated from the package's public source.
API
Indicatorcomponent
Indicator(props: RadioGroupIndicatorProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
Itemcomponent
Item(props: RadioGroupItemProps): Element
Props
class?stringdisabled?booleanstyle?string | CSSPropertiesvaluestring— The value this item represents.
children: Element
RadioGroupIndicatorPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
RadioGroupItemPropsinterface
Props
class?stringdisabled?booleanstyle?string | CSSPropertiesvaluestring— The value this item represents.
children: Element
RadioGroupRootPropsinterface
Props
class?stringdefaultValue?string— Default value (uncontrolled).disabled?booleanname?string— Form field name for hidden inputs.onValueChange?(value: string) => void— Called when the selected value changes.orientation?"horizontal" | "vertical"— Layout orientation — affects arrow key navigation direction.required?booleanstyle?string | CSSPropertiesvalue?Accessor<string | undefined>— Controlled value.
children: Element
Rootcomponent
Root(props: RadioGroupRootProps): Element
Props
class?stringdefaultValue?string— Default value (uncontrolled).disabled?booleanname?string— Form field name for hidden inputs.onValueChange?(value: string) => void— Called when the selected value changes.orientation?"horizontal" | "vertical"— Layout orientation — affects arrow key navigation direction.required?booleanstyle?string | CSSPropertiesvalue?Accessor<string | undefined>— Controlled value.
children: Element