Grid
Grid lays children out in columns without wrapping them in a section card.
import { Grid, Section, TextInput } from '@shamar/core'
Section.make('Details').schema([ Grid.make(3).schema([ TextInput.make('width'), TextInput.make('height'), TextInput.make('depth'), ]),])Grid
| Method | Description |
|---|---|
Grid.make(cols?) | Columns: 1–4 (default 2). |
.columns(n) | Override column count. |
.dense() / .gap(bool) | Spacing controls. |
.schema([...]) | Nested layouts and leaves. |
Children can still call .columnSpan() / .columnSpanFull() to span multiple tracks.