Radio Group
Single-select radio button set with keyboard navigation.
Generado a partir del código fuente público del paquete.
API
Indicatorcomponente
Indicator(props: RadioGroupIndicatorProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Itemcomponente
Item(props: RadioGroupItemProps): Element
Propiedades
class?stringdisabled?booleanstyle?string | CSSPropertiesvaluestring— The value this item represents.
hijos: Element
RadioGroupIndicatorPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
RadioGroupItemPropsinterfaz
Propiedades
class?stringdisabled?booleanstyle?string | CSSPropertiesvaluestring— The value this item represents.
hijos: Element
RadioGroupRootPropsinterfaz
Propiedades
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.
hijos: Element
Rootcomponente
Root(props: RadioGroupRootProps): Element
Propiedades
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.
hijos: Element