Theme: ← Übersicht Tokens

Produkt-Grid

Responsives Grid aus Produkt-Karten (auto-fill) mit optionalem Sektions-Kopf — für Empfehlungen, Kategorien, Suchergebnisse

Blocks v1.1.2 Commerce Website section.product-grid

Nutzt: component.product-card

Beispiele

Empfehlungs-Grid aus Produkt-Karten

Empfehlungen

Das könnte dir auch gefallen

Eigenschaften

PropTypDefaultBuilder-Label
kickerstring""Kicker
titlestring""Titel
produkte *array—Produkte (Props der Produkt-Karte)
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
--grid-gapvar(--size-6)
--grid-minvar(--size-40)

Genutzte Design-Tokens

color.accentcolor.text.defaultfont.family.defaultfont.family.displayfont.family.monofont.leading.displayfont.size.displaysize.1size.12size.4size.40size.6size.8text.smtracking.wideweight.bold

LLM-Notizen

section.product-grid

Responsives auto-fill-Grid aus Produkt-Karten mit optionalem Sektions-Kopf — für Empfehlungen, Kategorien oder Suchergebnisse.

Wann nutzen

  • Mehrere Produkte als Kartenliste (Katalog, Empfehlungen, Suchergebnisse).
  • Für den Kopf einer einzelnen Produktdetailseite eher section.product-stage.

Wichtige Props

  • produkte * = Array aus Produkt-Karten-Props: {title*, amount*, href?, imageUrl?, originalAmount?, discount?, value?, count?} (value = Bewertung 0–5)
  • kicker = Mono-Label über dem Titel
  • title = Sektionstitel
  • spacing = Eigenabstand none | sm | md | lg | xl (Default none)

Beispiel-Node

{ "definition": "section.product-grid", "props": { "kicker": "NEU", "title": "Empfehlungen", "produkte": [{ "title": "Sneaker X", "amount": "89 €", "originalAmount": "119 €", "discount": "-25%", "href": "/p/x", "imageUrl": "/p/x.jpg", "value": 4.5, "count": 210 }] } }

Hinweise

  • Rendert je Eintrag eine component.product-card; die Einträge sind deren Props.