Radio
Radio Props
| Name | Type | Default | Description |
|---|---|---|---|
value | string | number | — | Required. Option value. |
label | string | — | Required. Visible label and accessible name. |
description | string | — | Description shown below the label. |
id | string | — | ID of the native input. Auto-generated when omitted. |
isDisabled | boolean | false | Disable this option. |
isReadOnly | boolean | false | Make this option read-only. |
Events
change(value, event): fired when the user selects this option.
When Radio is used inside RadioGroup, RadioGroup coordinates the change events.
Slots
labelIcon: decorative icon before the label.
Usage constraint
Radio depends on RadioContext. When used standalone, it falls back to a context-free state and renders a single radio button only. Always use Radio as a child of RadioGroup or RadioList.