Using shadcn-ui components in streamlit
The streamlit-shadcn-ui is a Python package that allows users to incorporate shadcn-ui components into their Streamlit applications. With this package, users can enhance the visual appeal and functionality of their Streamlit apps by adding various components such as buttons, checkboxes, select options, cards, avatars, date pickers, tables, sliders, and more.
To install and use the streamlit-shadcn-ui package, follow these steps:
Install the package from PyPI using pip:
pip install streamlit-shadcn-ui
Import the necessary components in your Streamlit app:
import streamlit as st
from streamlit_shadcn_ui import button, checkbox, select, ...
Use the components in your app as desired:
button("Click me")
For more detailed examples and component usage, refer to the official Streamlit App and the documentation and component examples in the streamlit-shadcn-ui GitHub repository.
The streamlit-shadcn-ui Python package provides a collection of shadcn-ui components that can be seamlessly integrated into Streamlit applications. By utilizing these components, users can enhance the functionality and aesthetics of their Streamlit apps with features like interactive buttons, dropdown menus, tabs, cards, avatars, date pickers, tables, and more. The package is easy to install and offers a wide range of customizable components to suit various app development needs.