Invisible Docs
GalerieTokens

Avatar — ui.avatar

Bild oder Initialen einer Person mit optionalem Status. 1.4.0 (opt-in): shape figure = freigestellte Figur, die ihren Behaelter fuellt. 1.4.2: Initialen und Farbton in UTF-8 (Namen mit Umlaut am Wortanfang hatten keine Initiale). 1.5.0 (25.10.2026): Toenung der Initialen-Avatare ueber Theme-Tokens a

UI Elementv1.8.0Inhaltweb.documentweb.applicationdesktop.shellemail.client

Beispiele

Initialen, online

Klein, abwesend

Groß, offline

Extragroß (xl, 56 px), online, gerundet (1.6.0)

Unsicheres src → Initialen-Fallback

Eigenschaften

PropTypDefault
name *string—
srcstring""
sizestring: sm | md | lg | xl | 2xl"md"
shapestring: circle | rounded | figure"circle"
focusstring: center | top"center"
statusstring: none | online | away | offline"none"
ringstring: none | brand"none"
iconstring""
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
--avatar-sizevar(--size-10)
--avatar-backgroundvar(--color-action-secondary)
--avatar-colorvar(--color-text-muted)
--avatar-radiusvar(--shape-pill)

Genutzte Design-Tokens

avatar.tone-strength avatar.tone-text border.emphasis color.accent color.action.secondary color.border.strong color.series.1 color.series.2 color.series.3 color.series.4 color.series.5 color.series.6 color.series.7 color.series.8 color.status.success color.status.warning color.surface.default color.text.default color.text.muted font.family.default gradient.brand radius.control radius.full size.10 size.12 size.14 size.16 size.8 text.4xl weight.semibold