Create a Streamlit Component¶
Streamlit Components let you expand the functionality provided in the base Streamlit package. Use Streamlit Components to create the needed functionality for your use case, then wrap it up in a Python package and share with the broader Streamlit community!
Types of Streamlit Components you could create include:
Custom versions of existing Streamlit elements and widgets, such as
Rendering Python objects having methods that output HTML, such as IPython
Convenience functions for commonly-used web features like GitHub gists and Pastebin
Check out this Streamlit Components Tutorial video by Streamlit engineer Tim Conkling to get started:
The remainder of the documentation in this section is for users that want to develop Streamlit Components or are generally interested in the Streamlit project from a developer/contributor perspective.
If you are only interested in using Streamlit Components, then you can skip these sections and head over to the Streamlit Components Gallery to see examples created by the community!