Skip to content

Commit c56db61

Browse files
Clarify custom components use case (#1294)
* Clarify custom components use case * Grammar consistency * Mention theming
1 parent f2f3b57 commit c56db61

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/develop/concepts/custom-components/create-component.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Developers can write JavaScript and HTML "components" that can be rendered in St
1717

1818
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!
1919

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:**
2121

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).
2626

2727
Check out these Streamlit Components tutorial videos by Streamlit engineer Tim Conkling to get started:
2828

0 commit comments

Comments
 (0)