Grid

Grid layout

Required props

-

Optional props

asChild

Children composition

type
boolean
default
false

gap

CSS Gap

type
Property.GridGap<0
(string & {})>
default
$space-gap

areas

CSS grid-template-areas

type
Property.GridTemplateAreas
default
auto

rows

CSS grid-template-rows

type
Property.GridTemplateRows<0
(string & {})>
default
auto

columns

CSS grid-template-columns

type
Property.GridTemplateColumns<0
(string & {})>
default
auto

autoColumns

CSS grid-auto-columns

type
Property.GridAutoColumns<0
(string & {})>
default
auto

autoRows

CSS grid-auto-rows

type
Property.GridAutoRows<0
(string & {})>
default
auto

autoFlow

CSS grid-auto-flow

type
Property.GridAutoFlow
default
row