

Every state


default


focus


open


none


filled


error


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "notify" | Trigger id; the panel, description and error ids hang off it. |
| name | string | "notify" | Form name; one hidden input per chosen value. |
| label | string | "Notifications" | Field label. |
| description | string | "Pick what reaches you, and where." | Line under the field. |
| placeholder | string | "Choose notifications" | Trigger text while nothing is chosen. |
| groups | { id: string; label: string; options: { value: string; label: string }[] }[] | Email, Push and Text message | The groups and their options; values are unique across groups. |
| defaultValue | string[] | five values | Values chosen at the start. |
| defaultOpen | boolean | – | Open the panel at the start (for previews). |
| onChange | (values: string[]) => void | – | Called with the chosen values after every change. |
| error | string | – | Error under the field; marks the trigger invalid. |
| disabled | boolean | – | Disables the trigger. |
| className | string | – | Extra classes on the field. |
More multi-selects
All 6multi-select-03 is in UI ProGet UI Pro, €199


