v1.2.0

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

AttributeTypeDefaultDescription
checkedbooleanfalseWhether this radio is selected.
valuestring""The value submitted with the form.
disabledbooleanfalseDisables the radio.
colorprimary | secondary | error | warning | info | successprimaryThe color palette to use.
namestringForm field name.

API: me-radio-group

AttributeTypeDefaultDescription
valuestringThe currently selected value.
namestringPropagated to child radios.
rowbooleanfalseArranges radios in a row.