Shorthand prop for gridAutoColumns
SimpleGrid
SimpleGrid provides a friendly interface to create responsive grid layouts with ease.
Props#
SimpleGrid composes Box
so you can pass all the Box
props and css grid props
with addition of these:
autoColumns
autoColumns
ResponsiveValue<GridAutoColumns<0 | (string & {})>>
autoFlow
autoFlow
Shorthand prop for gridAutoFlow
ResponsiveValue<GridAutoFlow>
autoRows
autoRows
Shorthand prop for gridAutoRows
ResponsiveValue<GridAutoRows<0 | (string & {})>>
column
column
Shorthand prop for gridColumn
ResponsiveValue<GridColumn>
columnGap
columnGap
Shorthand prop for gridColumnGap
ResponsiveValue<string | number | (string & {})>
columns
columns
The number of columns
ResponsiveValue<number>
gap
gap
Shorthand prop for gridGap
ResponsiveValue<string | number | (string & {})>
minChildWidth
minChildWidth
The width at which child elements will break into columns. Pass a number for pixel values or a string for any other valid CSS length.
ResponsiveValue<string | number | (string & {})>
row
row
Shorthand prop for gridRow
ResponsiveValue<GridRow>
rowGap
rowGap
Shorthand prop for gridRowGap
ResponsiveValue<string | number | (string & {})>
spacing
spacing
The gap between the grid items
ResponsiveValue<string | number | (string & {})>
spacingX
spacingX
The column gap between the grid items
ResponsiveValue<string | number | (string & {})>
spacingY
spacingY
The row gap between the grid items
ResponsiveValue<string | number | (string & {})>
templateAreas
templateAreas
Shorthand prop for gridTemplateAreas
ResponsiveValue<GridTemplateAreas>
templateColumns
templateColumns
Shorthand prop for gridTemplateColumns
ResponsiveValue<GridTemplateColumns<0 | (string & {})>>
templateRows
templateRows
Shorthand prop for gridTemplateRows
ResponsiveValue<GridTemplateRows<0 | (string & {})>>
Props#
SimpleGrid composes Box
so you can pass all the Box
props and css grid props
with addition of these:
autoColumns
autoColumns
Shorthand prop for gridAutoColumns
ResponsiveValue<GridAutoColumns<0 | (string & {})>>
autoFlow
autoFlow
Shorthand prop for gridAutoFlow
ResponsiveValue<GridAutoFlow>
autoRows
autoRows
Shorthand prop for gridAutoRows
ResponsiveValue<GridAutoRows<0 | (string & {})>>
column
column
Shorthand prop for gridColumn
ResponsiveValue<GridColumn>
columnGap
columnGap
Shorthand prop for gridColumnGap
ResponsiveValue<string | number | (string & {})>
columns
columns
The number of columns
ResponsiveValue<number>
gap
gap
Shorthand prop for gridGap
ResponsiveValue<string | number | (string & {})>
minChildWidth
minChildWidth
The width at which child elements will break into columns. Pass a number for pixel values or a string for any other valid CSS length.
ResponsiveValue<string | number | (string & {})>
row
row
Shorthand prop for gridRow
ResponsiveValue<GridRow>
rowGap
rowGap
Shorthand prop for gridRowGap
ResponsiveValue<string | number | (string & {})>
spacing
spacing
The gap between the grid items
ResponsiveValue<string | number | (string & {})>
spacingX
spacingX
The column gap between the grid items
ResponsiveValue<string | number | (string & {})>
spacingY
spacingY
The row gap between the grid items
ResponsiveValue<string | number | (string & {})>
templateAreas
templateAreas
Shorthand prop for gridTemplateAreas
ResponsiveValue<GridTemplateAreas>
templateColumns
templateColumns
Shorthand prop for gridTemplateColumns
ResponsiveValue<GridTemplateColumns<0 | (string & {})>>
templateRows
templateRows
Shorthand prop for gridTemplateRows
ResponsiveValue<GridTemplateRows<0 | (string & {})>>