Hacker News new | ask | show | jobs
Show HN: Use tailwindCSS/shadcn UI to build beautiful app in Python streamlit (github.com)
5 points by basic_banana 937 days ago
streamlit-shadcn-ui is a python lib that allows you to use shadcn components in streamlit.

Benefits: 1. It extends the components options for building streamlit app

2. A morden and clean designed components for streamlit developer

3. streamlit-shadcn-ui provide a component "element", which allows you to write react-like component in python. You can nest and combine all the components with existing code.

Related resources:

+ Github: https://github.com/ObservedObserver/streamlit-shadcn-ui

+ Demo: https://shadcn.streamlit.app/

+ Streamlit: https://streamlit.io/

+ Shadcn: https://ui.shadcn.com/

1 comments

Element seems to only work with other components built with element now, why not turn other components element-based.
It is still in proposal stage. Parts of them can be turned into element-based easily like card, badges. But others with returned value like buttons, checkbox will change the way of usage from streamlit offical components (like the return value of button is check status, but in element-based, it is an element).