Ankündigungs-Pille — ui.announcement
Pill-Banner über einer Überschrift (Beispiel: Neu · Version 2 ist da): Markierung links, Text, optionaler Pfeil — als Link oder statisch 1.1: feste Texte mehrsprachig (invisible_i18n).
UI Elementv1.1.1Inhaltweb.documentweb.applicationemail.clientbuilder.preview
Beispiele
Als Link mit Pfeil
NeuVersion 2 ist da — alle Neuerungen ansehenAkzent-Ton, statisch
BetaAgenten-Chat jetzt testenEigenschaften
| Prop | Typ | Default |
|---|---|---|
tag | string | "Neu" |
text * | string | — |
href | string | "" |
tone | string: primary | accent | neutral | "primary" |
arrow | boolean | true |
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 | "" |
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--announcement-tone | var(--color-action-primary) |
Genutzte Design-Tokens
border.hairline color.accent color.action.on-primary color.action.primary color.text.default color.text.muted duration.fast easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default radius.full size.1 size.2 size.3 text.sm text.xs weight.semibold