3 ms·
Show HN: Use tailwindCSS/shadcn UI to build beautiful app in Python streamlit
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 https://github.com/ObservedObserver/streamlit-shadcn-ui
+ Demo: https://shadcn.streamlit.app/ https://shadcn.streamlit.app/
+ Streamlit: https://streamlit.io/ https://streamlit.io/
+ Shadcn: https://ui.shadcn.com/ https://ui.shadcn.com/
- loa_observer 3y agoElement seems to only work with other components built with element now, why not turn other components element-based.
- basic_banana 3y agoIt 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).