β¬οΈΒ Β Bottom Container
Submitted by Lukas Masuch
Summary
A multi-element container that sticks to the bottom of the app.
Functions
bottom
Insert a multi-element container that sticks to the bottom of the app.
Note that this can only be in the main body of the app, and not in other parts e.g. st.sidebar
Source code in src/streamlit_extras/bottom_container/__init__.py
Import:
- You should add this to the top of your .py file
Examples
example
def example():
st.write("This is the main container")
with bottom():
st.write("This is the bottom container")
st.text_input("This is a text input in the bottom container")