Hello, following the newest update of paging using streamlit (Introducing multipage apps! 📄), is there a way to go to another page by clicking on a button?
Thank you
Hello, following the newest update of paging using streamlit (Introducing multipage apps! 📄), is there a way to go to another page by clicking on a button?
Thank you
There is no simple way to include a button within a page (not the sidebar) that enables navigation from a page to another page (e.g. next page or a labelled page). This is a basic feature of almost every app that has ever been created, especially for mobile. Most user experience expects this (rather than using sidebars). It’s a glaring omission from the multi-page app functionality of Streamlit. Its absence will hamper the utility and scalability of Streamlit for serious app design. Given Snowflake paid nearly $1bn for Streamlit, you’d think this basic functionality would have been noticed. It should be relatively simple to enable and it would enable Streamlit apps to start to resemble more sophisticated UI. Please can this be prioritised.
I found a workaround, you can check it here: [Multipage] Custom navigation · Issue #4832 · streamlit/streamlit · GitHub
FWIW, there’s also a python-only solution shown here: Navigate Multipage App with Buttons instead of Sidebar - #6 by blackary
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.