Streamlit documentation
Streamlit is an open-source Python framework for data scientists and AI/ML engineers to deliver dynamic data apps with only a few lines of code. Build and deploy powerful data apps in minutes. Let's get started!
How to use our docs
Get started with Streamlit! Set up your development environment and learn the fundamental concepts, and start coding!
Develop your Streamlit app! Our API reference explains each Streamlit function with examples. Dive deep into all of our features with conceptual guides. Try out our step-by-step tutorials.
Deploy your Streamlit app! Streamlit Community Cloud our free platform for deploying and sharing Streamlit apps. Streamlit in Snowflake is an enterprise-class solution where you can house your data and apps in one, unified, global system. Explore all your options!
Knowledge base is a self-serve library of tips, tricks, and articles that answer your questions about creating and deploying Streamlit apps.
What's new
Top navigation
Use st.navigation
with position="top"
to create a navigation menu across the top of your app.
Detect theme base
You can detect if the viewer is in light mode or dark mode at runtime with st.context.theme
.
Container nesting
Streamlit no longer restricts the nesting of columns, expanders, popovers, and chat message containers, but take care not to overuse nested layouts!
format_align_leftCustomize element widths
You can set the width of most Streamlit elements with a width
parameter, with more to come soon!
Form height
You can set the height of form with the height
parameter in st.form
.
Theme configuration
Try out theme.dataframeBorderColor
, theme.buttonRadius
, or theme.codeFontSize
.
Latest blog posts
Join the community
Streamlit is more than just a way to make data apps, it's also a community of creators that share their apps and ideas and help each other make their work better. Please come join us on the community forum. We love to hear your questions, ideas, and help you work through your bugs — stop by today!
View forum