Invisible Docs
GalerieTokens

Listen-Zeile (Item) — ui.item

Universelle Listen-Zeile: Icon/Avatar-Fläche, Titel + Untertitel, Meta rechts, optionaler Chevron — Grundbaustein für Listen, Suchergebnisse, Auswahllisten. 1.3.0 (opt-in appIcon): App-Symbol links als ui.app-icon. 1.4.0 (opt-in subtitleWrap): Unterzeile bricht um statt gekuerzt zu werden.

UI Elementv1.4.0Inhaltweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Mit Icon, Untertitel, Meta und Chevron (als Link)

Auftrag #4711Muster GmbH · 3 Positionen1.240,00 €

Hervorgehoben, ohne Link

Aktive Auswahlwird gerade bearbeitet

Lange Unterzeile bricht um (1.4: subtitleWrap)

EnglischWortschatz: 34 Wörter · 12 stark · 9 fällig · zuletzt wiederholt am Samstag75 %

Eigenschaften

PropTypDefault
title *string—
subtitlestring""
subtitleWrapbooleanfalse
metastring""
iconstring""
appIconstring""
avatarNamestring""
avatarSrcstring""
badgenumber0
hrefstring""
triggerstring""
triggerTitlestring""
chevronbooleanfalse
activebooleanfalse
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
--item-radius-controlvar(--shape-control)
--item-surface-sunkenvar(--color-surface-sunken)
--item-text-defaultvar(--color-text-default)
--item-text-mutedvar(--color-text-muted)

Genutzte Design-Tokens

color.accent-soft color.surface.default color.surface.sunken color.text.default color.text.muted duration.fast easing.standard focus.ring-color focus.ring-width font.family.default radius.full size.1 size.1-5 size.10 size.3 size.5 text.2xs text.md text.sm weight.medium weight.semibold