2.6. Multi-Page Applications#

Finally, Streamlit allows users to design applications that have multiple pages. In order to design a multi-page application, you must have a pages subfolder in your main directory. All Python files inside this directory will be considered to be pages for your application. If you wish to have your pages appear in a special order, you can do so by naming each page 01-page name and 02-page_name. Streamlit will automatically remove the leading numbers and dash.