Radio List

Alignment target:@astryxdesign/core v0.7.1 · RadioList

RadioList Props #

NameTypeDefaultDescription
v-modelstring | number—Required. The selected value.
labelstring—Required accessible name of the group.
optionsRadioOption[]—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.
descriptionstring—Help text under the group label.
statusFieldStatusInput—Error, warning, or success.
statusVariant'attached' | 'detached' | 'tooltip''detached'Where the status message sits.
isDisabledbooleanfalseDisables the group.
disabledMessagestring—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.
isRequiredbooleanfalseMarks the group required.
containerClassstring—Class on the field shell. It has no effect inside a horizontal-labels form.
containerStyleStyleValue—Inline style on the field shell.
controlClassstring—Class on the radio group (role="radiogroup").
controlStyleStyleValue—Inline style on the radio group.

RadioListItem Props #

NameTypeDefaultDescription
valuestring | number—Required value submitted when the row is selected.
labelstring—Required row label. Use the label slot for rich content such as a link; activating the link does not select the row.
descriptionstring—Secondary text under the label. Rich content goes in the description slot.
isDisabledbooleanfalseDisables this row.

The end slot renders after the label, aligned to the trailing edge in a vertical list.