Radio
The Radio component provides a way for the end user to select between multiple options.
Last updated
The Radio component provides a way for the end user to select between multiple options.
Last updated
disabled
boolean
Prevents the radio group from interaction.
null
options
array[string]
List of options rendered to the end user as individual radio inputs.
onSelect
function
Executes the provided function when the end user clicks a certain radio input.
selected
number
State value associated with the radio group.
validationError
string
When not ''
or undefined
, outlines the input in red and renders the provided text in red beneath the input.
null