Chip — ui.chip
Filter-/Auswahl-Chip — im Element Builder generiert (Archetyp box) 1.4: feste Texte mehrsprachig (invisible_i18n). 1.5.0 (01.11.2026, opt-in, iamgreat Kursseite): href (Chip als Link, dann ohne Entfernen-Knopf), stars + starsMax (Sterne hinten als ui.rating 1.7 mit max, Standard 3).
Beispiele
Neutral
NeutralErfolg
ErfolgLegacy-Alias „warnung" → warning
WarnungMit Icon und Entfernen-Knopf (emittiert remove)
VertriebEigenschaften
| Prop | Typ | Default |
|---|---|---|
label * | string | — |
variant | string: neutral | success | warning | erfolg | warnung | outline | "neutral" |
size | string: sm | md | "sm" |
imageUrl | string | "" |
meta | string | "" |
removable | boolean | false |
icon | string | "" |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
href | string | "" |
stars | number | -1 |
starsMax | number | 3 |
Events & Slots
Events: remove
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--chip-background | var(--color-surface-sunken) |
--chip-color | var(--color-text-muted) |
Genutzte Design-Tokens
border.hairline color.border.default color.status.success color.status.success-surface color.status.warning color.status.warning-surface color.surface.default color.surface.sunken color.text.default color.text.muted duration.fast easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default leading.tight radius.full radius.overlay size.1 size.2 size.3 size.4 size.5 size.8 text.sm text.xs weight.semibold