Building Streamlit Custom Components V2

Builds bidirectional Streamlit Custom Components v2 (CCv2) using `st.components.v2.component`. Use when authoring inline HTML/CSS/JS components or packaged components (manifest `asset_dir`, js/css globs), wiring state/trigger callbacks, theming via `--st-*` CSS variables, or bundling with Vite. For streamlit-extras, use the `pagination` extra as a reference implementation.

arnaudmiribel Updated
CleanShot 2023-10-18 at 14 56 43

File contents

arnaudmiribel/streamlit-extras commit 4fa7594344

Frequently asked questions

npx get-skill add arnaudmiribel/building-streamlit-custom-components-v2