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.

I am also hoping to be able to do this, hopefully streamlit will come up wiht a solution!

Just replying so I can keep tabs on this matter and see if someone has a solution to it, I already use multiple pages for one purpose and a side bar for each tab would be perfect for what I have in mind.