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
autoColumnsSystemProps["gridAutoColumns"]autoFlow
autoFlowShorthand prop for gridAutoFlow
SystemProps["gridAutoFlow"]autoRows
autoRowsShorthand prop for gridAutoRows
SystemProps["gridAutoRows"]column
columnShorthand prop for gridColumn
SystemProps["gridColumn"]columns
columnsThe number of columns
ResponsiveValue<number>minChildWidth
minChildWidthThe 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<string | number | (string & {})>>row
rowShorthand prop for gridRow
SystemProps["gridRow"]spacing
spacingThe gap between the grid items
ResponsiveValue<Union<string | number | (string & {})>>spacingX
spacingXThe column gap between the grid items
ResponsiveValue<Union<string | number | (string & {})>>spacingY
spacingYThe row gap between the grid items
ResponsiveValue<Union<string | number | (string & {})>>templateAreas
templateAreasShorthand prop for gridTemplateAreas
SystemProps["gridTemplateAreas"]templateColumns
templateColumnsShorthand prop for gridTemplateColumns
SystemProps["gridTemplateColumns"]templateRows
templateRowsShorthand 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
autoColumnsShorthand prop for gridAutoColumns
SystemProps["gridAutoColumns"]autoFlow
autoFlowShorthand prop for gridAutoFlow
SystemProps["gridAutoFlow"]autoRows
autoRowsShorthand prop for gridAutoRows
SystemProps["gridAutoRows"]column
columnShorthand prop for gridColumn
SystemProps["gridColumn"]columns
columnsThe number of columns
ResponsiveValue<number>minChildWidth
minChildWidthThe 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<string | number | (string & {})>>row
rowShorthand prop for gridRow
SystemProps["gridRow"]spacing
spacingThe gap between the grid items
ResponsiveValue<Union<string | number | (string & {})>>spacingX
spacingXThe column gap between the grid items
ResponsiveValue<Union<string | number | (string & {})>>spacingY
spacingYThe row gap between the grid items
ResponsiveValue<Union<string | number | (string & {})>>templateAreas
templateAreasShorthand prop for gridTemplateAreas
SystemProps["gridTemplateAreas"]templateColumns
templateColumnsShorthand prop for gridTemplateColumns
SystemProps["gridTemplateColumns"]templateRows
templateRowsShorthand prop for gridTemplateRows
SystemProps["gridTemplateRows"]