Radio List
Alignment target:@astryxdesign/core v0.7.1 · RadioList
RadioList Props #
| Name | Type | Default | Description |
|---|---|---|---|
v-model | string | number | — | Required. The selected value. |
label | string | — | Required accessible name of the group. |
options | RadioOption[] | — | Plain options. Use items when a row needs an end slot. |
orientation | 'vertical' | 'horizontal' | 'vertical' | Stack the rows, or place them in a row. |
size | 'sm' | 'md' | 'md' | Indicator size. 20px or 24px. A plain Radio stays 18px. |
description | string | — | Help text under the group label. |
status | FieldStatusInput | — | Error, warning, or success. |
statusVariant | 'attached' | 'detached' | 'tooltip' | 'detached' | Where the status message sits. |
isDisabled | boolean | false | Disables the group. |
disabledMessage | string | — | Why the whole group is disabled. With isDisabled, the message shows in a tooltip on hover or keyboard focus and every option stays focusable with aria-disabled; selection stays blocked. |
isRequired | boolean | false | Marks the group required. |
containerClass | string | — | Class on the field shell. It has no effect inside a horizontal-labels form. |
containerStyle | StyleValue | — | Inline style on the field shell. |
controlClass | string | — | Class on the radio group (role="radiogroup"). |
controlStyle | StyleValue | — | Inline style on the radio group. |
RadioListItem Props #
| Name | Type | Default | Description |
|---|---|---|---|
value | string | number | — | Required value submitted when the row is selected. |
label | string | — | Required row label. Use the label slot for rich content such as a link; activating the link does not select the row. |
description | string | — | Secondary text under the label. Rich content goes in the description slot. |
isDisabled | boolean | false | Disables this row. |
The end slot renders after the label, aligned to the trailing edge in a vertical list.