

Every state


default


hover


focus


selected


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "radio-list" | Id prefix; each option is `${id}-${value}`. |
| name | string | "radio-list" | Form field name of the radios. |
| legend | string | "How should we contact you?" | The group's visible question. |
| description | string | – | Help line under the legend. |
| options | ChoiceCardRadioListOption[] | – | Options: value, title, description, disabled. |
| defaultValue | string | "email" | The option chosen at the start. |
| required | boolean | – | Requires a choice before the form submits. |
| disabled | boolean | – | Disables the whole group. |
| error | string | – | Error message; marks the group invalid. |
| className | string | – | Extra classes on the fieldset. |


