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
SystemProps["gridAutoColumns"]
autoFlow
autoFlow
Shorthand prop for gridAutoFlow
SystemProps["gridAutoFlow"]
autoRows
autoRows
Shorthand prop for gridAutoRows
SystemProps["gridAutoRows"]
column
column
Shorthand prop for gridColumn
SystemProps["gridColumn"]
columns
columns
The number of columns
ResponsiveValue<number>
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<Union<number | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | ... 52 more ... | "-webkit-min-content">>
row
row
Shorthand prop for gridRow
SystemProps["gridRow"]
spacing
spacing
The gap between the grid items
ResponsiveValue<Union<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | ... 51 more ... | "-3.5">>
spacingX
spacingX
The column gap between the grid items
ResponsiveValue<Union<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | ... 51 more ... | "-3.5">>
spacingY
spacingY
The row gap between the grid items
ResponsiveValue<Union<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | ... 51 more ... | "-3.5">>
templateAreas
templateAreas
Shorthand prop for gridTemplateAreas
SystemProps["gridTemplateAreas"]
templateColumns
templateColumns
Shorthand prop for gridTemplateColumns
SystemProps["gridTemplateColumns"]
templateRows
templateRows
Shorthand prop for gridTemplateRows
SystemProps["gridTemplateRows"]
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
SystemProps["gridAutoColumns"]
autoFlow
autoFlow
Shorthand prop for gridAutoFlow
SystemProps["gridAutoFlow"]
autoRows
autoRows
Shorthand prop for gridAutoRows
SystemProps["gridAutoRows"]
column
column
Shorthand prop for gridColumn
SystemProps["gridColumn"]
columns
columns
The number of columns
ResponsiveValue<number>
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<Union<number | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | ... 52 more ... | "-webkit-min-content">>
row
row
Shorthand prop for gridRow
SystemProps["gridRow"]
spacing
spacing
The gap between the grid items
ResponsiveValue<Union<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | ... 51 more ... | "-3.5">>
spacingX
spacingX
The column gap between the grid items
ResponsiveValue<Union<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | ... 51 more ... | "-3.5">>
spacingY
spacingY
The row gap between the grid items
ResponsiveValue<Union<number | (string & {}) | "px" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "1" | "-1" | "2" | "-2" | "3" | "-3" | "4" | "-4" | "5" | "-5" | "6" | "-6" | "7" | ... 51 more ... | "-3.5">>
templateAreas
templateAreas
Shorthand prop for gridTemplateAreas
SystemProps["gridTemplateAreas"]
templateColumns
templateColumns
Shorthand prop for gridTemplateColumns
SystemProps["gridTemplateColumns"]
templateRows
templateRows
Shorthand prop for gridTemplateRows
SystemProps["gridTemplateRows"]