Library
/
Chakra
/
Layout
/
Container
Containers are used to constrain a content's width to the current breakpoint, while keeping it fluid.
rx.chakra.container(
rx.chakra.box(
"Example", bg="blue", color="white", width="50%"
),
center_content=True,
bg="lightblue",
)
A flexbox container that centers its children and sets a max width.
Did you find this useful?