Completely disable sidebar?

Hey! Is there a way to completely hide the sidebar in a streamlit app (or even on a single page), or atleast hide the icon on the page which triggers the bar.

Hey @NoNeuronsNoStress, you probably want to use the initial_sidebar_state="collapsed" keyword in st.set_page_config(). See docs st.set_page_config - Streamlit Docs

Hope that helps,

1 Like