Theme: ← Übersicht Tokens

Kennzahlen

Zahlen-Banner (Wert + Beschriftung) — auto-fit, mobil gestapelt

Blocks v1.1.2 Vertrauen Website section.stats

Beispiele

Neutral

tricoma in Zahlen

1.500+Kunden
12 Mio.Aufträge pro Jahr
99,9 %Verfügbarkeit
Brand
40+Definitionen im Kit
236Design-Tokens
120+Tests grün

Eigenschaften

PropTypDefaultBuilder-Label
titlestring""Titel
items *array—Kennzahlen
tonestring: neutral | brand"neutral"Ton
spacingstring: none | sm | md | lg | xl"lg"Eigenabstand
paddingstring: standard | none | sm | md | lg | xl"standard"Innenabstand (standard = Baustein-Wert, schlaegt Eigenabstand)
marginstring: standard | none | sm | md | lg | xl"standard"Aussenabstand
borderstring: standard | none | hairline | strong"standard"Rahmen
radiusstring: standard | none | control | surface | pill"standard"Ecken-Rundung
textColorstring""Textfarbe (Token; leer = Standard)
backgroundColorstring""Hintergrundfarbe (Token; leer = Standard)
shadowstring: standard | none | sm | md | lg"standard"Schatten
widthstring: standard | container | full"standard"Breite (full = Band aus dem Container, container = im Container)
heightstring: standard | half | full"standard"Hoehe (full = Bildschirmhoehe, Inhalt zentriert)
backgroundImagestring""Hintergrundbild (https-URL oder /pfad; leer = keins)
backgroundDimstring: standard | light | medium | strong"standard"Bild abdunkeln (Lesbarkeit; standard = aus)
backgroundFixedbooleanfalseBild steht fest beim Scrollen (Parallax)
alignSelfstring: standard | start | center | end"standard"Ausrichtung im Elternteil
anchorstring""Anker-ID (Sprungziel, z. B. fuer Nav-Links)

* Pflicht-Prop

Stellschrauben (Komponenten-Tokens)

Ebene 3 — aus dem CSS generiert (Registry). Umverdrahtbar per Hüllen-Komposition, ohne Markup-Eingriff; künftige Regler-Quelle des Component Builders.

TokenDefault
--stats-valuevar(--color-action-primary)
--stats-labelvar(--color-text-muted)
--grid-gapvar(--size-6)

Genutzte Design-Tokens

color.action.on-primarycolor.action.primarycolor.text.defaultcolor.text.mutedfont.family.defaultleading.tightopacity.mutedradius.surfacesize.12size.4size.6size.8text.2xltext.4xltext.smweight.bold

LLM-Notizen

section.stats

Schlichtes Zahlen-Banner (Wert + Beschriftung) — auto-fit, mobil gestapelt.

Wann nutzen

  • Für ein kompaktes Kennzahlen-Band unter einem Hero oder zwischen Sektionen.
  • Abgrenzung: section.stat-tiles = Kacheln mit Border, Status-Punkt und Fußnote.

Wichtige Props

  • title = optionale Überschrift
  • items * = Array aus { value*, label* }
  • tone = neutral | brand (Standard neutral)
  • spacing = Eigenabstand: none | sm | md | lg | xl (Standard lg)

Beispiel-Node

{ "definition": "section.stats", "props": { "title": "In Zahlen", "tone": "brand", "items": [ { "value": "10k+", "label": "aktive Nutzer" }, { "value": "24/7", "label": "Support" } ] } }