Discover, try, install and share Streamlit re-usable bits we call "extras"!
Last updated Jul 5, 2026
972
Stars
168
Forks
33
Issues
+3
Stars/day
Attention Score
72
Language breakdown
Python 73.1%
TypeScript 25.6%
JavaScript 0.6%
CSS 0.5%
HTML 0.1%
โธ Files
click to expand
README
๐ชข streamlit-extras
A Python library with useful Streamlit extras
streamlit-extras is a Python library putting together useful Streamlit bits of code (extras).
Highlights
- ๐ Discover: Visit our documentation to discover all extras.
- โฌ๏ธ Install:
streamlit-extrasis a PyPI package with all extras included. Get them all using pip! - ๐ซด Share: Go ahead and share your own extras, it's just a PR away!
Getting Started
Installation
pip install streamlit-extras
Or with uv:
uv add streamlit-extras
Usage
Here's an example with one of the easiest extras around, stoggle
from streamlit_extras.stoggle import stoggle
stoggle( "Click me!", """๐ฅท Surprise! Here's some additional content""", )

Development
This project uses uv for dependency management.
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
Clone and setup
git clone https://github.com/arnaudmiribel/streamlit-extras.git
cd streamlit-extras
uv sync
Run tests
uv run pytest
Run the gallery
uv run streamlit run gallery/streamlit_app.py
Documentation
Visit https://arnaudmiribel.github.io/streamlit-extras
Contribution
PRs are welcome! Guidelines here
README template taken from LukasMasuch/streamlit-pydantic
๐ More in this category