Skip to content

v0.1.0

Choose a tag to compare

@B4PT0R B4PT0R released this 05 Apr 03:13
· 16 commits to main since this release

[0.1.0] - 2026-04-05

Initial public release.

Added

  • React-style Component model for Streamlit with local state preserved across reruns.
  • Ref handles plus helper-based access through get_element_value(...), get_component_state(...), and refresh_element(...).
  • Shared state support through App.shared_state(...) and get_shared_state(...).
  • Functional components through @component and use_state(...).
  • Theme and config support on App, including runtime theme editing through ThemeEditor, ThemeEditorDialog, and ThemeEditorButton.
  • Flow built-ins: Conditional, KeepAlive, Case, Switch, Match, and Default.
  • Multipage built-ins: Router and Page.
  • Packaged example launcher via python -m st_components.examples <name>.

Changed

  • Standardized callback payloads: if an event carries a useful value, that value is injected into the handler.
  • Aligned wrapped element signatures with Streamlit 1.56.0 while keeping key and optional ref in the framework layer.
  • Reorganized st_components.elements into subpackages with shared helper/type modules for readability.
  • Simplified the public API surface:
    • st_components exposes the core primitives
    • st_components.elements exposes Streamlit element wrappers
    • st_components.builtins exposes higher-level built-ins
  • Reworked examples and README for onboarding, with inline source expanders in the example apps.

Notes

  • This is the first tagged release of the project.