Radio
Overview
When to use
The Radio component is ideal for situations where users need to select a single option from a list of choices. It provides a visually clear and mutually exclusive selection mechanism.
When to consider an alternative
Consider using Checkboxes for scenarios where multiple selections are allowed or Toggles for binary on/off choices.
Component
Default
States
Properties
Default
Property | Type | Required | Default |
---|---|---|---|
utilClassNames | String | false | - |
children | Node | false | - |
componentRef | Shape {
"current": "Any"
} | false | - |
id | String | false | - |
name | String | false | - |
value | String | false | - |
onChange | Func | false | - |
checked | Bool | false | - |
label | String | false | - |