Repository navigation
Simplify template repo - #214
Merged
Merged
Conversation
sfc-gh-lmasuch
approved these changes
Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes this repo the cookiecutter sources and their rendered templates. Components v2 is the recommended path; v1 stays as the legacy template.
examples/(CustomDataframe, MaterialLogin, RadioButton), the v1 Playwright end-to-end suites, the Docker image, and the CI that built wheels against an unreleasedstreamlit-component-lib.templates/still matches the cookiecutter sources.npm run start, which the v1 docs use. v2 keepsnpm run dev(vite build --watch) andnpm run buildfor production, matching the package-based components docs.dataandsetStateValue,defaultpaired withon_<key>_change, and a dev loop of Vite build,uv pip install -e ., thenstreamlit run example.py.Test plan
./dev.py templates-check-not-modifiedpasses for all four replay files (cookiecutter 2.2.2)./dev.py all-npm-installand./dev.py all-npm-buildsucceed on Node 24 for both v1 and both v2 templatesuvx --from cookiecutter cookiecutter gh:streamlit/component-template --directory cookiecutter/v2and run the README dev loopnpm run startfrommy_component/frontend