Creating new sidebars for different tabs

Hello everyone,

I would like to know if it’s possible to have a different sidebar for each tab on your Streamlit website? So far, there is only one sidebar for all the tabs.

Hi @aww033,

Thanks for sharing your question! It sounds like using multiple pages would be a better option for your app if you want to change the sidebar content for each different section.

Caroline :balloon:

1 Like

hi @Caroline ,
i was also looking for creating siderbars respective to the tab , but in my case i dont have the liberty to use multipage as it has a major drawback for the app iam building , so is there any solution for the above mentioned issue

I was hoping to use the same, I even tried playing around with session state but could not get it to work. This is a bit of a pity and quite surprising as this is quite a common feature on dashboard apps.