App-Abschnitt — section.app-block
Benannter Abschnitt einer App-Ansicht: Titel mit optionalem Zähler und Beschreibung, Aktionen bzw. Link Alle anzeigen rechts, Inhalt darunter und eingebauter Leerzustand. Erscheinung frei oder als gerahmte Fläche. Grundbaustein für Startseiten, Dashboards und Detailbereiche. Der Link Alle anzeigen t
Beispiele
Frei mit Zähler und Link
Als Fläche mit Beschreibung
Was heute noch erledigt werden sollte.
Leerzustand
Noch nichts gemerkt
Markierte Einträge erscheinen hier.
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
title | string | "" |
description | string | "" |
count | string | "" |
linkLabel | string | "" |
linkHref | string | "" |
actions | array | [] |
sortKey | string | "" |
emptyTitle | string | "" |
emptyText | string | "" |
emptyIcon | string | "search" |
headingLevel | number: 2 | 3 | 2 |
appearance | string: plain | panel | "plain" |
size | string: default | sm | "default" |
gap | string: sm | md | lg | "sm" |
scroll | string: none | sm | md | lg | fill | "none" |
actionsAlign | string: auto | end | "auto" |
Events & Slots
Slot default: akzeptiert ui.*, layout.*, component.*, section.*
Slot actions: akzeptiert ui.*, layout.*, component.*
Slot toolbar: akzeptiert ui.*, layout.*, component.*
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--app-block-surface | var(--color-surface-default) |
--app-block-border | var(--color-border-subtle) |
--app-block-radius | var(--shape-card) |
--app-block-shadow | var(--elevation-flat) |
--app-block-inset | var(--size-6) |
Genutzte Design-Tokens
border.hairline color.border.subtle color.surface.default color.text.default color.text.muted duration.fast easing.standard elevation.flat leading.tight size.1 size.2 size.4 size.6 text.sm text.xs weight.semibold