Grid macrolite
An equal-column grid for cards and tiles.
Preview
Loading the renderer…
createSurface + updateComponents, A2UI v0.9.
json
[
{
"version": "v0.9",
"createSurface": {
"surfaceId": "preview",
"catalogId": "https://ui.exponential.at/catalogs/core/v1"
}
},
{
"version": "v0.9",
"updateComponents": {
"surfaceId": "preview",
"components": [
{
"id": "root",
"component": "Stack",
"direction": "vertical",
"align": "stretch",
"children": [
"example"
]
},
{
"id": "example",
"component": "Grid",
"columns": 3,
"gap": "md",
"children": [
"c0-g1",
"c0-g2",
"c0-g3",
"c0-g4",
"c0-g5",
"c0-g6"
]
},
{
"id": "c0-g1",
"component": "Card",
"title": "Cell 1",
"description": "Grid item"
},
{
"id": "c0-g2",
"component": "Card",
"title": "Cell 2",
"description": "Grid item"
},
{
"id": "c0-g3",
"component": "Card",
"title": "Cell 3",
"description": "Grid item"
},
{
"id": "c0-g4",
"component": "Card",
"title": "Cell 4",
"description": "Grid item"
},
{
"id": "c0-g5",
"component": "Card",
"title": "Cell 5",
"description": "Grid item"
},
{
"id": "c0-g6",
"component": "Card",
"title": "Cell 6",
"description": "Grid item"
}
]
}
}
]This surface through a MemoryTransport. Install and transports: React guide.
This surface through a MemoryTransport. Install and transports: SwiftUI guide.
This surface through a MemoryTransport. Install and transports: Compose guide.
This surface through a MemoryTransport. Install and transports: gpui guide.
Platforms




View exponential-ui-grid, painted by each native renderer.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
columnsresp | number | 2 | Equal columns 1–6 ({base: 1, md: 2, lg: 3}). |
gapresp | none | xs | sm | md | lg | xl | "md" | The space between cells. |
style | style | – | Extra Box styles merged over the grid's own. |
Events and slots
No events, no slots. Children: many.
Accessibility
- Role
none- Semantics
- none (layout only)
Not focusable; no keys.
Theming
- Recipe parts
Grid/root- Keyed by
:hover:pressed:focus:disabled:checked:open:selected:invalid:dragover