Switch between option menu with a button

In my web application, I need a button on the right side of the first option menu page, when I click it, my page will change to the second menu.
How can I have this feature in streamlit?
streamlit

can anyone help? i want to do the same

I don’t know about doing this with streamlit option menu, but you can do it with native streamlit multipage apps using this extra https://extras.streamlit.app/Switch%20page%20function

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.