Invisible Docs
GalerieTokens

Raster — layout.grid

Zwölf-Spalten-Raster. Kinder bestimmen ihre Breite über node.layout.span; ohne Angabe gilt die Vorgabe aus dem columns-Prop. 1.2.0 (opt-in): columns = tiles richtet die Spalten nach der eigenen Breite (1, ab 36rem 2, ab 64rem 4; Container-Query über eine Hülle).

Layoutv1.2.2Layoutweb.documentweb.applicationdesktop.shell

Beispiele

3 Spalten (bricht mobil auf 1)

Produkt A

Raster-Zelle eins.

Produkt B

Raster-Zelle zwei.

Produkt C

Raster-Zelle drei.

auto-fit nach Mindestbreite

Auto 1

So viele Spalten wie passen.

Auto 2

Mindestbreite 240px.

Auto 3

Fluid ohne Media Query.

Auto 4

Vierte Zelle.

Responsive Props: mobil 2, ab md 4 Spalten — Abstand mobil sm, ab md lg

R1

base: 2 Spalten.

R2

ab md: 4 Spalten.

R3

Explizit pro Breakpoint.

R4

Statt eingebackenem Verhalten.

Eigenschaften

PropTypDefault
columnsstring: auto | fill | 1 | 2 | 3 | 4 | 6 | 12 | tiles"auto"
gapstring: none | sm | md | lg | xl"md"
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | container | full"standard"
heightstring: standard | half | full"standard"
backgroundImagestring""
backgroundDimstring: standard | light | medium | strong"standard"
backgroundFixedbooleanfalse
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Events & Slots

Slot default: akzeptiert ui.*, component.*, section.*, layout.* · Pflicht