Can I use a regular button to open a new page?

Hi, multipage apps are cool, is there a way to go to a different page using a regular button too something like

if st.button(β€œPage 1”):
page1.main()

Right now I think the above code would just render the current page and page 1 in series

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