✨ Announcing our seed funding led by Lux Capital! Read more about it on our blog
DocsBlogChangelog

Search documentation...

/

Star

12k+

[ Learn ]

[ Concepts ]

[ Reference ]

Container


Containers are used to constrain a content's width to the current breakpoint, while keeping it fluid.
Example
rx.container(
    rx.box(
        "Example", bg="blue", color="white", width="50%"
    ),
    center_content=True,
    bg="lightblue",
)

Container


A flexbox container that centers its children and sets a max width.


  • Base Event Triggers

← CondFlex →

Copyright © 2023 Pynecone, Inc.