Sharing my custom component to build a multipage app calling each page (activity) from the
st.sidebar.selectionbox. The activities menu serve as an alternative to the
The available activities (pages) are read from a
yaml file. These activities can then be used to create a multi-page app using Streamlit. You can add as many pages as you like by adding them in the yaml file and keep your menu tidy.
I have used happily in my projects and now happy to share it in the community.