In Streamlit, you position elements by writing them in the order you want them to appear. Streamlit runs from top to bottom, so the order in which you write your elements is the order in which they will appear in your application.