Using shadcn-ui components in streamlit
MIT License
Now you can select date range.
import streamlit as st
import streamlit_shadcn_ui as UI
# pick single date
dt = ui.date_picker(key="date_picker", mode="single", label="Date Picker")
st.write("Date Value:", dt)
# pick date range
dt2 = ui.date_picker(key="date_picker2", mode="range", label="Date Picker")
st.write("Date Range:", dt2)
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.17...0.1.18
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.13...0.1.17
Published by ObservedObserver 11 months ago
fix init_state bug
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.12...0.1.13
Published by ObservedObserver 11 months ago
Published by ObservedObserver 11 months ago
ui.element
for renderer any combination of components like your are writing react.with ui.element("card", key="base_ele") as card:
with ui.element("card", key="base_ele2") as card2:
card2.add_child(ui.element("input", key="nst2_input"))
card2.add_child(ui.element("button", key="nst2_btn", text="Nest Submmit", variant="outline"))
card.add_child(card2)
card.add_child(ui.element("button", key="nst_btn", text="Hello World"))
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.10...0.1.1
Published by ObservedObserver 11 months ago
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.8...0.1.9
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.7...0.1.8
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.6...0.1.7
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.5...0.1.6
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.4...0.1.5
Published by ObservedObserver 11 months ago
Published by ObservedObserver 11 months ago
Full Changelog: https://github.com/ObservedObserver/streamlit-shadcn-ui/compare/0.1.2...0.1.3
bugfix:
frontend build dir
Published by ObservedObserver 11 months ago