SimpleGrid

SimpleGrid provides a friendly interface to create responsive grid layouts with ease.

    Source@chakra-ui/layout

Props#

SimpleGrid composes Box so you can pass all the Box props and css grid props with addition of these:

autoColumns

Description

Shorthand prop for gridAutoColumns

Type
ResponsiveValue<GridAutoColumns<0 | (string & {})>>

autoFlow

Description

Shorthand prop for gridAutoFlow

Type
ResponsiveValue<GridAutoFlow>

autoRows

Description

Shorthand prop for gridAutoRows

Type
ResponsiveValue<GridAutoRows<0 | (string & {})>>

column

Description

Shorthand prop for gridColumn

Type
ResponsiveValue<GridColumn>

columnGap

Description

Shorthand prop for gridColumnGap

Type
ResponsiveValue<string | number | (string & {})>

columns

Description

The number of columns

Type
ResponsiveValue<number>

gap

Description

Shorthand prop for gridGap

Type
ResponsiveValue<string | number | (string & {})>

minChildWidth

Description

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.

Type
ResponsiveValue<string | number | (string & {})>

row

Description

Shorthand prop for gridRow

Type
ResponsiveValue<GridRow>

rowGap

Description

Shorthand prop for gridRowGap

Type
ResponsiveValue<string | number | (string & {})>

spacing

Description

The gap between the grid items

Type
ResponsiveValue<string | number | (string & {})>

spacingX

Description

The column gap between the grid items

Type
ResponsiveValue<string | number | (string & {})>

spacingY

Description

The row gap between the grid items

Type
ResponsiveValue<string | number | (string & {})>

templateAreas

Description

Shorthand prop for gridTemplateAreas

Type
ResponsiveValue<GridTemplateAreas>

templateColumns

Description

Shorthand prop for gridTemplateColumns

Type
ResponsiveValue<GridTemplateColumns<0 | (string & {})>>

templateRows

Description

Shorthand prop for gridTemplateRows

Type
ResponsiveValue<GridTemplateRows<0 | (string & {})>>

Proudly made inNigeria by Segun Adebayo

Deployed by â–² Vercel