Medien-Karten — section.media-cards
1.6.0 (05.12.2026): linkStyle button (Link als Knopf) und headAlign center (Kopf mittig). Raster aus Karten mit großem Bild, Eyebrow, Titel, Text und Link (ganze Karte klickbar) — 2, 3 oder 4 Spalten, mobil einspaltig; für Lösungen, Produkte, Stories. 1.3: density compact fuer App-Bereiche, Icon-Fla
Beispiele
Keine Demo-Fälle hinterlegt (demo.php ergänzen).
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
eyebrow | string | "" |
title | string | "" |
intro | string | "" |
cards * | array | — |
cardLinkLabel | string | "" |
emptyText | string | "" |
linkStyle | string: | button | "" |
headAlign | string: | center | "" |
density | string: comfortable | compact | "comfortable" |
columns | string: 2 | 3 | 4 | "3" |
ratio | string: wide | classic | square | banner | "wide" |
layout | string: stacked | overlay | "stacked" |
tone | string: light | gray | dark | "light" |
spacing | string: none | sm | md | lg | xl | "lg" |
anchor | string | "" |
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--band-surface | var(--color-surface-default) |
--band-text | var(--color-text-default) |
--band-muted | var(--color-text-muted) |
--media-cards-card | var(--color-surface-default) |
--media-cards-line | var(--color-border-subtle) |
--media-cards-ratio | 16 / 10 |
--section-spacing | var(--size-8) |
Genutzte Design-Tokens
border.hairline color.action.on-primary color.action.primary color.action.primary-hover color.band.dark color.band.dark-muted color.band.dark-text color.band.gray color.band.gray-muted color.band.gray-text color.border.subtle color.surface.default color.text.default color.text.muted duration.base duration.fast easing.standard elevation.raised focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.display font.leading.display leading.loose leading.tight radius.control radius.surface size.1 size.10 size.12 size.2 size.24 size.3 size.4 size.5 size.6 size.8 text.2xl text.md text.reading text.sm text.xl text.xs tracking.wide weight.bold weight.semibold