Repository navigation
v0.1.0
[0.1.0] - 2026-04-05
Initial public release.
Added
- React-style
Componentmodel for Streamlit with local state preserved across reruns. Refhandles plus helper-based access throughget_element_value(...),get_component_state(...), andrefresh_element(...).- Shared state support through
App.shared_state(...)andget_shared_state(...). - Functional components through
@componentanduse_state(...). - Theme and config support on
App, including runtime theme editing throughThemeEditor,ThemeEditorDialog, andThemeEditorButton. - Flow built-ins:
Conditional,KeepAlive,Case,Switch,Match, andDefault. - Multipage built-ins:
RouterandPage. - 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
keyand optionalrefin the framework layer. - Reorganized
st_components.elementsinto subpackages with shared helper/type modules for readability. - Simplified the public API surface:
st_componentsexposes the core primitivesst_components.elementsexposes Streamlit element wrappersst_components.builtinsexposes 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.