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.8.tar.gz
(170.0 kB
view hashes)
Built Distribution
Close
Hashes for streamlit-shadcn-ui-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11ed293ad8f76cde73e613140ee127c3b461681ea6502e674e10660c7b55a76c |
|
MD5 | 0146644caf064ae885e1ca8415d38252 |
|
BLAKE2b-256 | 155b549459ef7a5f105b49b8fd32161c2ac11be06cb9e91e4ae9bdb67d12c201 |
Close
Hashes for streamlit_shadcn_ui-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c949a69c4f5fd1b8e517db7879e431e116c4e2a0ff33af50fc460d58453531 |
|
MD5 | 8d404dd15bf492322f9880b8b6d5674a |
|
BLAKE2b-256 | 0838d817135b4487dee658d5ac0fa02e9b699dc61598d1ec0e620f0552bf9f9e |