Hey @MedAzizTousli! Welcome to the community, it’s great to have you here!
You sure can! Streamlit provides a flexible layout system that lets you create multiple columns. Here’s how you can create the layout depicted in your image:
import streamlit as st
st.title("Streamlit Column Layout")
# First row with two columns
col1_1, col1_2 = st.columns(2)
with col1_1:
st.write("Column 1.1")
with col1_2:
st.write("Column 1.2")
# Second row with a single centered column
col2_left, col2, col2_right = st.columns([1, 2, 1])
with col2:
st.write("Column 2")
# Third row with two columns
col3_1, col3_2 = st.columns(2)
with col3_1:
st.write("Column 3.1")
with col3_2:
st.write("Column 3.2")