Urgent : Tabs in Streamlit

How we can add a tab using streamlit.

As per this thread, the way to open a new tab would be via the following piece of code:

st.markdown('<a target="_blank" href="https://www.globo.com/">Access globo.com</a>', unsafe_allow_html=True)

Does this do the job for you?


I’m not talking about browser tab, its a tab container

Oh sorry for misunderstanding your question.I don’t believe that is supported. There’s an open issue: https://github.com/streamlit/streamlit/issues/233


Hello @Daniyal56,

This feature doesn’t exist yet in streamlit, but as @ddutt said, there’s an open GitHub issue.

It might not be ideal for your use case, but you could try to use st.beta_expander() instead.

1 Like

Some updates about tabs in streamlit:

1 Like