Link to another webpage using option_menu

Hi, I want to link to another webpage in the same tab using the streamlit option_menu.

For example, when I clicked on Projects, it will direct me to another webpage in the same tab.

image

Below are my codes but it didn’t work. Please assist, thank you.

import streamlit as st
from streamlit_option_menu import option_menu

with st.sidebar:
options = option_menu(
menu_title=“Menu”,
options=[“Home”, “Projects”, “Contact”])

if options == ‘Projects’:
image

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