Esc
Documentation
On this page

Props

PropTypeDefaultDescription
content requiredPageNode | readonly PageNode[]NoneChild nodes
columnsnumber1Number of grid columns
gapLayoutGap"md"Spacing between items

Example

ts
Grid({
  columns: 3,
  gap: "md",
  content: [
    Card({ title: "One" }),
    Card({ title: "Two" }),
    Card({ title: "Three" }),
  ],
})

View the source on GitHub