RadioList
Beta notice: This page is being built.Edit on GitHub(opens in new tab)
Selects one of a small number of labeled values.
longlink docs component "RadioList"
Example
Properties
| RadioList - Properties |
|---|
label Label text for the radio group (always rendered for accessibility).string |
description Description text displayed below the label.string |
name Includes the themed control's value under this form submission name.string |
required Requires a value before native form submission.boolean |
disabled Prevents interaction and excludes the field from submission.boolean |
children RadioListItem elements.ReactNode |
value The currently selected value.string |
defaultValue Initial value.string |
onChange Callback fired when the selected value changes.(value: string) => void |
orientation Layout direction of the radio items."horizontal" | "vertical" |
| RadioListItem - Properties |
|---|
label Visible label identifying this choice.string |
value Value passed to the surrounding RadioList when selected.string |
description Optional helper text explaining the choice.string |
isDisabled boolean |