Streamlit turns data scripts into shareable web apps in minutes. All in pure Python. No front‑end experience required. (https://streamlit.io/)
Great! Here are some common Streamlit tags and components you can use:
-
Text and Display:
st.title(): Displays a title.st.header(): Displays a header.st.subheader(): Displays a subheader.st.text(): Displays plain text.st.markdown(): Renders Markdown text.
-
Data Display:
st.dataframe(): Displays a DataFrame.st.table(): Displays a static table.st.json(): Displays JSON data.
-
Input Widgets:
st.button(): Creates a button.st.slider(): Creates a slider for selecting a range of values.st.selectbox(): Creates a dropdown select box.st.multiselect(): Allows selecting multiple options.st.text_input(): Text input field.st.text_area(): Multiline text input.
-
Media:
st.image(): Displays an image.st.audio(): Plays an audio file.st.video(): Plays a video.
-
Layout and Containers:
st.sidebar: Creates a sidebar for widgets.st.container(): A container for grouping elements.st.expander(): Collapsible section for additional content.
-
Progress and Status:
st.progress(): Displays a progress bar.st.spinner(): Displays a spinner while executing code.st.balloons(): Triggers a fun animation.
-
Charts and Visualization:
st.line_chart(): Displays a line chart.st.bar_chart(): Displays a bar chart.st.map(): Displays data on a map.