Invisible Docs
GalerieTokens

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

Akzent-Ton, statisch

BetaAgenten-Chat jetzt testen

Eigenschaften

PropTypDefault
tagstring"Neu"
text *string—
hrefstring""
tonestring: primary | accent | neutral"primary"
arrowbooleantrue
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | full"standard"
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Stellschrauben (Komponenten-Tokens)

TokenDefault
--announcement-tonevar(--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