Text and Markdown
Usest.write() for flexible output, and st.markdown() for richer formatting.
Headers and formatted text
Use headings to structure your app.Tables and DataFrames
Display tables withst.dataframe() for interactive output or st.table() for a static view.
Images
Usest.image() to display local files or remote URLs.
Code and JSON
You can show code samples or raw JSON values directly in the app.Status messages
Use status helpers to communicate app state.What’s next?
The next step is to collect input from users with widgets.User Input Widgets
Learn to read buttons, text fields, sliders, and file uploads