streamlit-shadcn-ui
streamlit-shadcn-ui copied to clipboard
Using shadcn-ui components in streamlit
def select_options(options: list[str], x, y, open_status=False, key=None, default_value=None, on_change=None, args=None, kwargs=None): TypeError: 'type' object is not subscriptable Unable to use component cos of this error
I see in the source code there is a callback that has been imported by not implemented in the function. Are there plans to implement this? Want to use this...
Hi, when I try to load the demo site many components are failing.  Your app is having trouble loading the streamlit_shadcn_ui.py_components.utils.declare.card component. (The app is attempting to load the...
my code: ` with ssui.card(key=f"card{index}"): ssui.element("p", children=[character["name"]], className="text-xl font-bold", key="label2") ssui.element("p", children=[f"id: {character['id']}"], className="text-sm font-medium m-1", key="label1") ssui.element("p", children=[f"创建时间: {character['create_time']}"], className="text-sm font-medium m-1", key="label3") btn = ssui.element("button", text="查看", key=f"button{index}") print(f"----------->btn:{btn.value}")...
Can ui.card use select componet?
It would be even better if there is a time component, like st.time_input.