Streamlit Activities Menu - Custom component - multipage app

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 pages implementation.
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.

See it in action in the streamlit community cloud
Streamlit activities menu github repo

I have used happily in my projects and now happy to share it in the community.

2 Likes