If true
, container will center its children
regardless of their width.
Container
Containers are used to constrain a content's width to the current breakpoint, while keeping it fluid.
Props#
Container composes Box
so you can pass all Box
related props in addition to
this.
centerContent
centerContent
boolean
colorScheme
colorScheme
Color Schemes for Container
are not implemented in the default theme. You can extend the theme to implement them.
string
size
size
Sizes for Container
are not implemented in the default theme. You can extend the theme to implement them.
string
variant
variant
Variants for Container
are not implemented in the default theme. You can extend the theme to implement them.
string
Props#
Container composes Box
so you can pass all Box
related props in addition to
this.
centerContent
centerContent
If true
, container will center its children
regardless of their width.
boolean
colorScheme
colorScheme
Color Schemes for Container
are not implemented in the default theme. You can extend the theme to implement them.
string
size
size
Sizes for Container
are not implemented in the default theme. You can extend the theme to implement them.
string
variant
variant
Variants for Container
are not implemented in the default theme. You can extend the theme to implement them.
string