Radio
Beta

Install the component dependency:

Include a React component in your project:

Radio.Group PropTypes

Name
Value
Description
Default
disabled
boolean
standard input disable flag
false
error
boolean
error state flag
false
name
string
form data identifier
onSelect
(DOM event, value) => ()
triggers on radio select
value
string | number
currently selected radio value

Radio.Button PropTypes

checked
boolean
styled selected (automatically set)
false
innerRef
DOM element => ()
input field react ref callback
label
Required
node
display text
value
Required
string | number
radio option value

The normal React form-related props are also acceptable and expected.

Selected: beginner

Radio buttons present a group of options, of which only a single option can be selected at a time. The grouping is commonly defined by the name prop.

Disabled radio buttons are unmodifiable and diminished visually.

Error states are engaged with the error flag.