Kennzahlen
Zahlen-Banner (Wert + Beschriftung) — auto-fit, mobil gestapelt
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
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| title | string | "" | Titel |
| items * | array | — | Kennzahlen |
| tone | string: neutral | brand | "neutral" | Ton |
| spacing | string: none | sm | md | lg | xl | "lg" | Eigenabstand |
| padding | string: standard | none | sm | md | lg | xl | "standard" | Innenabstand (standard = Baustein-Wert, schlaegt Eigenabstand) |
| margin | string: standard | none | sm | md | lg | xl | "standard" | Aussenabstand |
| border | string: standard | none | hairline | strong | "standard" | Rahmen |
| radius | string: standard | none | control | surface | pill | "standard" | Ecken-Rundung |
| textColor | string | "" | Textfarbe (Token; leer = Standard) |
| backgroundColor | string | "" | Hintergrundfarbe (Token; leer = Standard) |
| shadow | string: standard | none | sm | md | lg | "standard" | Schatten |
| width | string: standard | container | full | "standard" | Breite (full = Band aus dem Container, container = im Container) |
| height | string: standard | half | full | "standard" | Hoehe (full = Bildschirmhoehe, Inhalt zentriert) |
| backgroundImage | string | "" | Hintergrundbild (https-URL oder /pfad; leer = keins) |
| backgroundDim | string: standard | light | medium | strong | "standard" | Bild abdunkeln (Lesbarkeit; standard = aus) |
| backgroundFixed | boolean | false | Bild steht fest beim Scrollen (Parallax) |
| alignSelf | string: standard | start | center | end | "standard" | Ausrichtung im Elternteil |
| anchor | string | "" | 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.
| Token | Default |
|---|---|
--stats-value | var(--color-action-primary) |
--stats-label | var(--color-text-muted) |
--grid-gap | var(--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 Überschriftitems* = Array aus{ value*, label* }tone=neutral|brand(Standardneutral)spacing= Eigenabstand:none|sm|md|lg|xl(Standardlg)
Beispiel-Node
{ "definition": "section.stats", "props": { "title": "In Zahlen", "tone": "brand", "items": [ { "value": "10k+", "label": "aktive Nutzer" }, { "value": "24/7", "label": "Support" } ] } }