Theme: ← Übersicht Tokens

Mehrfach-Select

Multi-Select mit Chips im Feld, Suchfilter und Options-Panel (Untitled-UI-Muster) — Controller pflegt Auswahl, Escape/Außenklick schließen, emittet auswahl. 1.5: feste Texte mehrsprachig (invisible_i18n, texte.json). 1.6.0 (25.10.2026, opt-in): name = formulartauglich - je aktiver Option ein verstec

Components v1.7.0 Formulare WebsiteAppDesktop component.multi-select

Nutzt: ui.icon ui.avatar

Beispiele

Multi-Select mit Chips, Suchfilter und Panel (klicken zum Öffnen)
Zuständige Teams
Im Formular (name, 1.6.0): je Auswahl ein verstecktes Feld teams[] mit dem Wert der Option
Teams

Eigenschaften

PropTypDefaultBuilder-Label
labelstring""Label
placeholderstring"Auswählen …"Platzhalter
options *array—Optionen
namestring""Feldname (Formular)
paddingstring: standard | none | sm | md | lg | xl"standard"Innenabstand (standard = Baustein-Wert)
marginstring: standard | none | sm | md | lg | xl"standard"Aussenabstand
borderstring: standard | none | hairline | strong"standard"Rahmen
radiusstring: standard | none | control | surface | pill"standard"Ecken-Rundung
textColorstring""Textfarbe (Token; leer = Standard)
backgroundColorstring""Hintergrundfarbe (Token; leer = Standard)
shadowstring: standard | none | sm | md | lg"standard"Schatten
widthstring: standard | full"standard"Breite
alignSelfstring: standard | start | center | end"standard"Ausrichtung im Elternteil
anchorstring""Anker-ID (Sprungziel, z. B. fuer Nav-Links)

* Pflicht-Prop

Events & Slots

Events: ⚡ selection — im Surface per on: {<event>: {action, params}} verdrahtbar.

Stellschrauben (Komponenten-Tokens)

Ebene 3 — aus dem CSS generiert (Registry). Umverdrahtbar per Hüllen-Komposition, ohne Markup-Eingriff; künftige Regler-Quelle des Component Builders.

TokenDefault
--multi-select-action-primaryvar(--color-action-primary)
--multi-select-border-defaultvar(--color-border-default)
--multi-select-elevation-overlayvar(--elevation-overlay)
--multi-select-focus-ring-colorvar(--focus-ring-color)
--multi-select-focus-ring-offsetvar(--focus-ring-offset)
--multi-select-focus-ring-widthvar(--focus-ring-width)
--multi-select-form-backgroundvar(--form-background)
--multi-select-form-bordervar(--form-border)
--multi-select-form-border-hovervar(--form-border-hover)
--multi-select-form-placeholdervar(--form-placeholder)
--multi-select-radius-controlvar(--radius-control)
--multi-select-radius-smvar(--radius-sm)
--multi-select-status-dangervar(--color-status-danger)
--multi-select-surface-overlayvar(--color-surface-overlay)
--multi-select-surface-sunkenvar(--color-surface-sunken)
--multi-select-text-defaultvar(--color-text-default)
--multi-select-text-mutedvar(--color-text-muted)

Genutzte Design-Tokens

border.hairlinecolor.action.primarycolor.border.defaultcolor.status.dangercolor.surface.overlaycolor.surface.sunkencolor.text.defaultcolor.text.mutedduration.fasteasing.standardelevation.overlayfocus.ring-colorfocus.ring-offsetfocus.ring-widthfont.family.defaultform.backgroundform.borderform.border-hoverform.placeholderlayer.dropdownradius.controlradius.fullradius.smsize.05size.1size.10size.2size.3size.32size.4size.6size.8text.mdtext.smtext.xsweight.medium

LLM-Notizen

component.multi-select

Mehrfachauswahl mit Chips im Feld, Suchfilter und Options-Panel.

Wann nutzen

  • Mehrere Werte aus einer Liste wählen, mit sichtbaren Chips und Suche.
  • Für das Filtern ganzer Tabellen component.filter-bar, für die Modellwahl im Chat component.model-selector.

Wichtige Props

  • label = Beschriftung
  • placeholder = Platzhalter im Feld (Default „Auswählen …")
  • options * = Array aus { label, active? }; active markiert vorausgewählte Einträge

Beispiel-Node

{ "definition": "component.multi-select", "props": { "label": "Tags", "options": [ { "label": "Dringend", "active": true }, { "label": "Intern" } ] } }

Hinweise

  • Änderung der Auswahl emittiert selection; Escape oder Außenklick schließen das Panel.