Columns nesting workaround

Hello. I want to create a layout which requires multiple columns nesting, however Streamlit doesn’t support it. Is there any workaround which can be used to create such a layout?

Maybe using containers is the solution but how to place them one next to another (not below?)

I’m attaching a schematic picture

Hi @patpal

The grid method in streamlit-extras component provides functionality for grid layout.

https://arnaudmiribel.github.io/streamlit-extras/extras/grid/

You can install it via:

pip install streamlit-extras

Thank you for the response. I tried to mix grid with st.columns and it helped.

Using pure grid wouldn’t be enough in my case: