Radio Group
A radio group allows users to make a single choice from a selected number of options.
A radio group allows users to make a single choice from a selected number of options.
API reference docs for the component. Learn about the props, CSS, and other APIs of this exported module.
string
boolean
boolean
string
boolean
boolean
string
'ltr' | 'rtl'
The document's text/writing direction.
boolean
If `true`, the radio group will be disabled
string
The associate form of the underlying input.
() => ShadowRoot | Node | Document
A root node to correctly resolve document in custom environments. E.x.: Iframes, Electron.
string
The unique identifier of the machine.
Partial<{ root: string label: string indicator: string radio(value: string): string radioLabel(value: string): string radioControl(value: string): string radioHiddenInput(value: string): string }>
The ids of the elements in the radio. Useful for composition.
string
The name of the input fields in the radio (Useful for form submission).
(details: ValueChangeDetails) => void
Function called once a radio is checked
'horizontal' | 'vertical'
Orientation of the radio group
string
The value of the checked radio
() => void
Function to clear the value of the radio group
() => void
Function to focus the radio group
(props: RadioProps) => Dict<any>
(props: RadioProps) => Dict<any>
(props: RadioProps) => Dict<any>
(props: RadioProps) => Dict<any>
(props: RadioProps) => RadioState
Returns the state details of a radio input
Dict<any>
Dict<any>
Dict<any>
(value: string) => void
Function to set the value of the radio group
string
The current value of the radio group