Listengruppe — component.list-group
Gerahmte Eintragsliste (Bootstrap list-group): Einträge mit Titel, Beschreibung, Badge und optionalem Link — aktiv/deaktiviert je Eintrag. v1.2: navigation mit abschaltbarem Pfeil (chevron), iconStyle plain ohne Kachel und Aktivzustand auf der selected-Flaeche statt Balken.
Beispiele
Aufgabenliste mit Badges
- Angebot Kunde ACMEFällig heute 16:00dringend
- Rechnungslauf prüfen14 offene Belege14
- Altsystem-Exportwartet auf Freigabe
Flush (rahmenlos, z. B. in einer Card)
- Eintrag A
- Eintrag B
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
items * | array | — |
variant | string: standard | navigation | "standard" |
chevron | boolean | true |
iconStyle | string: tile | plain | "tile" |
label | string | "" |
flush | 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 | "" |
Events & Slots
Events: navigate
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--list-group-border | var(--color-border-subtle) |
--list-group-active | var(--color-action-primary) |
--list-group-navigation-radius | var(--shape-control, var(--radius-control)) |
--list-group-navigation-icon | var(--color-text-muted) |
--list-group-navigation-icon-surface | var(--color-surface-sunken) |
--list-group-navigation-hover | var(--color-surface-hover, var(--color-surface-sunken)) |
--list-group-navigation-selected | var(--color-surface-selected, var(--color-surface-sunken)) |
--list-group-navigation-selected-text | var(--color-text-accent, var(--color-action-primary)) |
--list-group-navigation-weight | var(--weight-regular) |
--list-group-navigation-weight-selected | var(--weight-medium) |
Genutzte Design-Tokens
border.emphasis border.hairline color.action.primary color.border.focus color.border.subtle color.surface.default color.surface.hover color.surface.selected color.surface.sunken color.text.accent color.text.default color.text.muted control.height duration.fast easing.standard focus.ring-color focus.ring-width font.family.default opacity.disabled radius.control radius.surface size.05 size.1 size.2 size.3 size.4 size.5 text.md text.sm weight.medium weight.regular weight.semibold