You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/develop/concepts/custom-components/create-component.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,12 @@ Developers can write JavaScript and HTML "components" that can be rendered in St
17
17
18
18
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!
19
19
20
-
**Types of Streamlit Components you could create include:**
20
+
**With Streamlit Components you can add new features to your app in the following ways:**
21
21
22
-
-Custom versions of existing Streamlit elements and widgets, such as `st.slider` or `st.file_uploader`.
23
-
-Completely new Streamlit elements and widgets by wrapping existing React.js, Vue.js, or other JavaScript widget toolkits.
24
-
-Rendering Python objects having methods that output HTML, such as IPython [`__repr_html__`](https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-display).
25
-
-Convenience functions for commonly-used web features like [GitHub gists and Pastebin](https://github.com/randyzwitch/streamlit-embedcode).
22
+
-Create your own components to use in place of existing Streamlit elements and widgets.
23
+
-Create completely new Streamlit elements and widgets by wrapping existing React.js, Vue.js, or other JavaScript widget toolkits.
24
+
-Render Python objects by constructing HTML representations and styling them to fit your app's theme.
25
+
-Create convenience functions to embed commonly-used web features like [GitHub gists and Pastebin](https://github.com/randyzwitch/streamlit-embedcode).
26
26
27
27
Check out these Streamlit Components tutorial videos by Streamlit engineer Tim Conkling to get started:
0 commit comments