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
centerContentbooleancolorScheme
colorSchemeColor Schemes for Container are not implemented in the default theme. You can extend the theme to implement them.
stringsize
sizeSizes for Container are not implemented in the default theme. You can extend the theme to implement them.
stringvariant
variantVariants for Container are not implemented in the default theme. You can extend the theme to implement them.
stringProps#
Container composes Box so you can pass all Box related props in addition to
this.
centerContent
centerContentIf true, container will center its children
regardless of their width.
booleancolorScheme
colorSchemeColor Schemes for Container are not implemented in the default theme. You can extend the theme to implement them.
stringsize
sizeSizes for Container are not implemented in the default theme. You can extend the theme to implement them.
stringvariant
variantVariants for Container are not implemented in the default theme. You can extend the theme to implement them.
string