

Every state


default


hover


focus


selected


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "role" | Id prefix; each role is `${id}-${value}`. |
| name | string | "role" | Form field name of the radios. |
| legend | string | "What brings you here?" | The group's visible question. |
| description | string | – | Help line under the legend. |
| options | ChoiceCardRoleOption[] | – | Two or three roles: value, icon, title, lines (two), disabled. |
| defaultValue | string | – | The role chosen at the start. |
| continueLabel | string | "Continue" | Label of the button under the cards. |
| disabled | boolean | – | Disables the cards and the button. |
| onContinue | (value: string) => void | – | Called with the chosen role when Continue is pressed. |
| onValueChange | (value: string) => void | – | Called when the chosen role changes. |
| className | string | – | Extra classes on the fieldset. |
More choice cards
All 12choice-card-09 is in UI ProGet UI Pro, €199


