Invisible Docs
GalerieTokens

App-Kennzahlen — section.app-kpis

Kennzahlenreihe für App-Startseiten und Dashboards: Bezeichnung mit Symbol, großer Wert, Veränderung mit Richtung (bewertet nach gut/schlecht, auch umgekehrt für Kosten), Vergleichsbezug, Kontextzeile und optionale Verlaufslinie. Als einzelne Karten oder als durchgehendes Band; die Reihe bricht nach

Blockv1.10.0Inhaltweb.applicationdesktop.shellbuilder.preview

Beispiele

Karten mit Verlauf und Link

Band (eine Fläche)

Klein, ohne Symbole

  • Projekte aktiv12
  • Stunden diese Woche31,5 +4,0 (positiv)
  • Budget verbraucht64 % +8 Pkt. (negativ)

Eigenschaften

PropTypDefault
narrowstring: | strip""
items *array—
appearancestring: cards | band | strip"cards"
sizestring: sm | md | lg"md"
deltaStylestring: badge | text"badge"
sparkPositionstring: inline | corner"inline"
wrapstring: auto | even"auto"
labelstring"Kennzahlen"

Stellschrauben (Komponenten-Tokens)

TokenDefault
--app-kpis-mincalc(var(--size-4) * 13)
--app-kpis-gapvar(--size-4)
--app-kpis-labelvar(--color-text-muted)
--app-kpis-valuevar(--color-text-default)
--app-kpis-goodvar(--color-status-success)
--app-kpis-good-surfacevar(--color-status-success-surface)
--app-kpis-badvar(--color-status-danger)
--app-kpis-bad-surfacevar(--color-status-danger-surface)
--app-kpis-neutral-surfacevar(--color-surface-sunken)

Genutzte Design-Tokens

border.hairline color.accent color.accent-soft color.border.strong color.border.subtle color.status.danger color.status.danger-surface color.status.success color.status.success-surface color.surface.default color.surface.sunken color.text.accent color.text.default color.text.muted duration.fast easing.out easing.standard elevation.flat elevation.raised focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.display leading.tight radius.control radius.full radius.none size.0 size.05 size.1 size.2 size.3 size.4 size.5 text.2xl text.2xs text.3xl text.sm text.xl text.xs tracking.tight tracking.wide weight.bold weight.medium weight.regular weight.semibold