Skip to content

1.0.0

Choose a tag to compare

@ObservedObserver ObservedObserver released this 01 Aug 08:31

Streamlit Shadcn UI 1.0.0

Version 1.0 is a complete migration to Streamlit Components V2 and the first V2-only release of Streamlit Shadcn UI.

Highlights

  • Rebuilt all 35 public components with checked-in shadcn/ui source backed by Base UI
  • Migrated to Streamlit Components V2, React 19, and Tailwind CSS 4
  • Removed component iframes entirely
  • Added isolated Shadow DOM styling with native light and dark theme support
  • Fixed clipping and stacking for Select, Dropdown Menu, Popover, Hover Card, Date Picker, and Alert Dialog using the browser top layer
  • Added typed Python return values and documented callbacks
  • Made key optional for ordinary component calls
  • Added a new documentation homepage, Getting Started guide, Playground, and complete V2 API examples

Breaking changes

Version 1.0 no longer ships the V1 iframe implementation or the streamlit_shadcn_ui.v1 namespace.

Notable API changes include:

  • button(text=...)button(label=...)
  • Grouped V1 checkboxes → composition of scalar checkbox() calls
  • CamelCase arguments such as totalPages and maxHeight → snake_case
  • with ui.card(...) and experimental ui.element() trees have been removed
  • Components now return public values directly instead of exposing internal transport dictionaries through st.session_state

Applications that cannot migrate yet should remain on streamlit-shadcn-ui==0.1.19.

Requirements

  • Python 3.10 or newer
  • Streamlit 1.60 or newer
pip install streamlit-shadcn-ui==1.0.0