Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Using shadcn-ui components in streamlit
| Date | Stars |
|---|---|
| 2026-07-24 | 1143 |
| 2026-07-25 | 1143 |
| 2026-07-28 | 1143 |
| 2026-07-30 | 1143 |
| 2026-08-06 | 1143 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
# streamlit-shadcn-ui :construction:
[](https://pypi.org/project/streamlit-shadcn-ui/)

[](https://shadcn.streamlit.app/)
Using shadcn-ui components in streamlit
<img width="1453" alt="streamlit-shadcn" src="https://github.com/ObservedObserver/streamlit-shadcn-ui/assets/22167673/75620347-9e9c-454c-a7ce-381d7464c519">
## Installation
```bash
pip install streamlit-shadcn-ui
```
example:
```py
import streamlit_shadcn_ui as ui
trigger_btn = ui.button(text="Trigger Button", key="trigger_btn")
ui.alert_dialog(show=trigger_btn, title="Alert Dialog", description="This is an alert dialog", confirm_label="OK", cancel_label="Cancel", key="alert_dialog1")
```
## Components
Check docs and compoenent examples in [](https://shadcn.streamlit.app/)
+ [x] button
+ [x] checkbox
+ [x] select
+ [x] tabs
+ [x] card
+ [x] avatar
+ [x] date_picker
+ [x] date_range_picker (date_picker with mode="range")
+ [x] table
+ [x] input
+ [x] slider
+ [x] textarea
+ [x] switch
+ [x] radio_group
+ [x] alert_dialog
+ [x] hover_card
+ [x] badges
+ [x] link_button
+ [x] accordion
+ [x] alert
+ [x] aspect_ratio
+ [x] calendar
+ [x] carousel
+ [x] checkbox
+ [x] collapsible
+ [x] command
+ [x] dialog
+ [x] dropdown_menu
+ [x] input-OTP
+ [x] metric_card
+ [x] pagination
+ [x] popover
+ [x] progress
+ [x] radio_group
+ [x] resizable
+ [x] scroll_area
+ [x] separator
+ [x] skeleton
+ [x] toggle
+ [x] toggle_group



## One more thing
There is a new component in testing, it will allows you to nest all streamlit-shadcn-ui components together.
It will not treat each component as an independent streamlit custom component in iframe, but parse the component structure as data and render them all at once in one iframe.
example ([live demo](https://shadcn.streamlit.app/Experiment(Cool))):
```py
with ui.card(key="card1"):
with ui.card(key="card2"):
ui.element("input", key="card2_input")
ui.element("button", key="card2_btn", text="Nest Submmit", variant="outline")
ui.element("button", key="card1_btn", text="Hello World")
```

## Development Guide
There are several scripts in `scripts` folder to help you develop this project.
```sh
# For local development
./scripts/frontend.sh # frontend dev server
./scripts/dev.sh # streamlit dev server
```
This repo follows the streamlit custom component structure.
+ `./streamlit_shadcn_ui` is the python package
+ `./streamlit_shadcn_ui/components` is the frontend mono repo
+ `./streamlit_shadcn_ui/components/packages/frontend` is the custom components collection.
+ `./streamlit_shadcn_ui/components/packages/streamlit-components-lib` is a patch of streamlit-components-lib for react 18 (For now, only the react/react-dom version is changed).
+ `./streamlit_shadcn_ui/py_components` is the python level API for components.
## Reference
+ [streamlit-shadcn-ui examples and docs repo](https://github.com/ObservedObserver/steamlit-shadcn-ui-docs)
+ [Streamlit](https://streamlit.io/)
+ [shadcn-ui](https://ui.shadcn.com/)
# License
This repo is under MIT license. See [LICENSE](LICENSE) for details.
`streamlit_shadcn_ui/components/packages/streamlit-components-lib`Excerpt of 4,109 characters
Read on GitHubElwynn Chen · @Kanaries
98
4
2
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:c17e45488553e7a7, topic:streamlit, desc:ui components, readme:ui components