Collapsible Streamlit sidebar

Hello,

When setting st.set_page_config(initial_sidebar_state="collapsed") in your Streamlit app, the sidebar is initially collapsed and the user is able to expand it. However, after expanding it it’s not possible to return to the collapsed state, as there is no “X” button as in the local Streamlit app. It would be nice to be able to do this.

Alvaro

cc @cbensimon maybe

1 Like