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 PositionenHervorgehoben, 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 Samstag
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
title * | string | — |
subtitle | string | "" |
subtitleWrap | boolean | false |
meta | string | "" |
icon | string | "" |
appIcon | string | "" |
avatarName | string | "" |
avatarSrc | string | "" |
badge | number | 0 |
href | string | "" |
trigger | string | "" |
triggerTitle | string | "" |
chevron | boolean | false |
active | boolean | false |
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 |
|---|---|
--item-radius-control | var(--shape-control) |
--item-surface-sunken | var(--color-surface-sunken) |
--item-text-default | var(--color-text-default) |
--item-text-muted | var(--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