Theme: ← Übersicht Tokens

Karten-Reihe (Scroll)

Horizontale Content-Karten-Reihe mit CSS-Scroll-Snap (kein JS): farbige Karten (Ton per Prop aus Tokens) mit Badge, Titel, Link und optionaler Media-Fläche. 1.2: density compact fuer App-Bereiche, Kurztext je Karte, Farbe surface

Blocks v1.2.2 Inhalt WebsiteAppDesktop section.card-row

Beispiele

Farbige Content-Karten mit Badge, Titel und Link (Scroll-Snap ohne JS)

Ressourcen

Neues aus dem Produkt

Eigenschaften

PropTypDefaultBuilder-Label
tonestring: dark | gray | light"light"Ton der Sektion (Theme liefert die Werte)
kickerstring""Kicker (Akzent-Sektionslabel)
titlestring""Titel
cards *array—Karten
densitystring: comfortable | compact"comfortable"Dichte (compact = App-Bereich)
spacingstring: none | sm | md | lg | xl"none"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
--band-surfacetransparent
--band-textvar(--color-text-default)
--band-mutedvar(--color-text-muted)
--band-linecolor-mix(in srgb, var(--band-text) 14%, transparent)
--card-surfacevar(--color-band-dark)
--card-textvar(--color-band-dark-text)

Genutzte Design-Tokens

border.hairlinecolor.accentcolor.action.on-primarycolor.action.primarycolor.band.darkcolor.band.dark-mutedcolor.band.dark-textcolor.band.graycolor.band.gray-mutedcolor.band.gray-textcolor.border.subtlecolor.surface.defaultcolor.surface.pagecolor.text.defaultcolor.text.mutedcontainer.lgduration.fasteasing.standardelevation.raisedfocus.ring-colorfocus.ring-offsetfocus.ring-widthfont.family.defaultfont.family.displayfont.family.monofont.leading.displayfont.size.displayleading.baseleading.tightradius.smradius.surfacesize.1size.12size.2size.24size.4size.5size.6size.8text.mdtext.smtext.xltext.xstracking.wideweight.boldweight.semibold

LLM-Notizen


# section.card-row

Horizontale Content-Karten-Reihe mit CSS-Scroll-Snap (kein JS): farbige Karten mit Badge, Titel, Link und optionaler Media-Fläche.

## Wann nutzen
- Als scrollbare Karten-Sektion (z. B. Feature-/Themen-Kacheln) im Dokument.
- Nicht als Aufruf-Banner (`section.cta`).

## Wichtige Props
- `tone` = Ton der Sektion: `dark` | `gray` | `light` (Default `light`)
- `kicker` = Akzent-Sektionslabel über dem Titel
- `title` = Sektionstitel
- `cards` * = Karten, je `{ title* (max 160), badge?, linkLabel?, href?, color: primary|accent|dark|gray, imageUrl? }`
- `spacing` = Eigenabstand oben/unten: `none` | `sm` | `md` | `lg` | `xl` (Default `none`)

## Beispiel-Node
{ "definition": "section.card-row", "props": { "tone": "light", "kicker": "Neu", "title": "Highlights", "spacing": "md", "cards": [ { "badge": "Beta", "title": "Schneller Start", "linkLabel": "Mehr", "href": "/start", "color": "primary" } ] } }

## Hinweise
- Section-Gerüst — die Karten (`cards`) sind Content-Daten, keine Slots; Farben lösen über Tokens auf.