

Every state


default


hover


focus


selected


limit-reached


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "interests" | Id prefix; each option is `${id}-${value}`. |
| name | string | "interests" | Form field name. |
| legend | string | "What would you like to do?" | The group's visible question. |
| description | string | – | Help line under the legend. |
| options | ChoiceCardIconGridOption[] | – | Cards: value, label, icon (any lucide icon), disabled. |
| defaultValue | string[] | [] | Cards chosen at the start. |
| max | number | 3 | Most cards that can be chosen; the others disable at the limit. |
| onValueChange | (value: string[]) => void | – | Called with the chosen values. |
| disabled | boolean | – | Disables the whole group. |
| error | string | – | Error message; marks the group invalid. |
| className | string | – | Extra classes on the fieldset. |
More choice cards
All 12choice-card-04 is in UI ProGet UI Pro, €199


