Using shadcn components in Streamlit
Project description
streamlit-shadcn-ui :construction:
Using shadcn-ui components in streamlit
Installation
pip install streamlit-shadcn-ui
example:
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
- button
- checkbox
- select
- tabs
- card
- avatar
- date_picker
- date_range_picker
- table
- input
- slider
- textarea
- switch
- radio_group
- alert_dialog
- hover_card
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit-shadcn-ui-0.1.7.tar.gz
(169.8 kB
view hashes)
Built Distribution
Close
Hashes for streamlit-shadcn-ui-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6466e5b79ab24139082178560d5fceb437c0e3fa181c6c66af54c7383d3ad490 |
|
MD5 | 1b0f5f76cfeeb0f7571531237556b13a |
|
BLAKE2b-256 | c1850f86d90cf9347f6e6148735bc30d8d584f0f1b63559b1a540c0a829dc837 |
Close
Hashes for streamlit_shadcn_ui-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28011109d9a0428befdd2ad382ee4de222aa6220923ac2d2541f52d787365943 |
|
MD5 | 4702521fc80ef83977b2eafd702a502a |
|
BLAKE2b-256 | 49c0f776c16d6b2b8a784542e0b9f04cd57b872028665034bafc78e382a1ccf9 |