Container

Containers are used to constrain a content's width to the current breakpoint, while keeping it fluid.

    Source@chakra-ui/layout

Props#

Container composes Box so you can pass all Box related props in addition to this.

centerContent

Description

If true, container will center its children regardless of their width.

Type
boolean

colorScheme

Description

Color Schemes for Container are not implemented in the default theme. You can extend the theme to implement them.

Type
(string & {})

size

Description

Sizes for Container are not implemented in the default theme. You can extend the theme to implement them.

Type
string

variant

Description

Variants for Container are not implemented in the default theme. You can extend the theme to implement them.

Type
string
Edit this page on GitHub

Proudly made inNigeria by Segun Adebayo

Deployed by Vercel