Radio
Radio buttons allow the user to select one option from a set.
RadioGroup
<me-radio-group value="female">
<label style="display:flex;align-items:center;gap:4px">
<me-radio value="female"></me-radio> Female
</label>
<label style="display:flex;align-items:center;gap:4px">
<me-radio value="male"></me-radio> Male
</label>
</me-radio-group>
Row Layout
Colors
Disabled
API: me-radio
| Attribute | Type | Default | Description |
checked | boolean | false | Whether this radio is selected. |
value | string | "" | The value submitted with the form. |
disabled | boolean | false | Disables the radio. |
color | primary | secondary | error | warning | info | success | primary | The color palette to use. |
name | string | — | Form field name. |
API: me-radio-group
| Attribute | Type | Default | Description |
value | string | — | The currently selected value. |
name | string | — | Propagated to child radios. |
row | boolean | false | Arranges radios in a row. |