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
Flex containers
You can set the direction, alignment, and gap of elements in st.container
.
Dialog dismissibility
You can control the dismissibility of modal dialogs. You can also configure dismissal reruns and callbacks.
network_pingWebSocket ping interval
Streamlit now allows you to configure the WebSocket ping interval with server.websocketPingInterval
.
Theme configuration
Try out even more theme configuration options in config.toml
, including new color, font, and style settings.
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
.
Latest blog posts
Best Practices for Building GenAI Apps with Streamlit
Key strategies for building robust, scalable, and responsible GenAI apps with Streamlit
Next: Read More
How to build a movie recommendation app without the complexities of vector databases
Use the Streamlit-Weaviate Connection to integrate a vector database
Next: Read More
How to create an AI chatbot using one API to access multiple LLMs
Programmatically integrate AI with Replicate and Streamlit
Next: Read MoreJoin 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