Grid
CSS grid with 1-6 columns.
On this page
Props
| Prop | Type | Default | Description |
|---|---|---|---|
content required | PageNode | readonly PageNode[] | None | Child nodes |
columns | number | 1 | Number of grid columns |
gap | LayoutGap | "md" | Spacing between items |
Example
ts
Grid({
columns: 3,
gap: "md",
content: [
Card({ title: "One" }),
Card({ title: "Two" }),
Card({ title: "Three" }),
],
})