Activate a Tab with a Button in the SideBar?

Would it be possible to Activate a Tab with a Button in the SideBar ?
How could I do this?

Hi @maajdl

I’m not sure if it’s possible to open up a tab without explicitly clicking on it with a mouse. But if you create a multipage app, you can definitely use a st.button to active a page in the multipage app using either the switch_page method from the streamlit-extras component or by linking to the explicit URL of the page such as via a custom callback function.

Here’s the Docs page from streamlit-extras on implementing this: