[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KGJ2Y04D6W70EXMA6MGJSC":3,"skill-same:01M6KGJ2Y04D6W70EXMA6MGJSC":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6KGJ2Y04D6W70EXMA6MGJSC","using-streamlit-custom-components",null,"Using third-party Streamlit custom components. Use when extending Streamlit with community packages. Covers installation, popular custom components, and when to use them.","legout\u002Fpi-config","legout","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1469563?v=4","01M6KGERP7E8TF4XARRKPFJ6HQ","Volker L.","01M6KGERT1FYD049PP1WW923TZ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-custom-components\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"components","streamlit","custom","using streamlit custom components","packages","use","community","installation","third-party","with","when to use","party","2026-11-10 10:12:30",false,"---\nname: using-streamlit-custom-components\ndescription: Using third-party Streamlit custom components. Use when extending Streamlit with community packages. Covers installation, popular custom components, and when to use them.\nlicense: Apache-2.0\n---\n\n# Streamlit custom components\n\nExtend Streamlit with third-party custom components from the community.\n\n## What are custom components?\n\nCustom components are standalone Python libraries that add features not in Streamlit's core API. They're built by the community and can be installed like any Python package.\n\n## Installation\n\nInstall using the PyPI package name (not the repo name—they can differ):\n\n```bash\nuv add \u003Cpypi-package-name>\n```\n\nThen import according to the component's documentation. The import name often differs from the package name too.\n\n## Use with caution\n\nComponents are not maintained by Streamlit. Before adopting:\n\n- **Check maintenance** - Is it actively maintained? Recent commits?\n- **Check compatibility** - Does it work with your Streamlit version?\n- **Check popularity** - GitHub stars, downloads, community usage\n- **Consider alternatives** - Can you achieve this with core Streamlit?\n\nCustom components can break when Streamlit updates, so prefer core features when possible.\n\n## Popular custom components\n\n### streamlit-keyup\n\nText input that fires on every keystroke instead of waiting for enter\u002Fblur. Useful for live search.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Fblackary\u002Fstreamlit-keyup\n- **Docs:** https:\u002F\u002Fpypi.org\u002Fproject\u002Fstreamlit-keyup\u002F\n\n```bash\nuv add streamlit-keyup\n```\n\n```python\nfrom st_keyup import st_keyup\n\nquery = st_keyup(\"Search\", debounce=300)  # 300ms debounce\nfiltered = df[df[\"name\"].str.contains(query, case=False)]\nst.dataframe(filtered)\n```\n\n### streamlit-bokeh\n\nOfficial replacement for `st.bokeh_chart` (removed from Streamlit API). Maintained by Streamlit.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Fstreamlit\u002Fstreamlit-bokeh\n- **Docs:** https:\u002F\u002Fpypi.org\u002Fproject\u002Fstreamlit-bokeh\u002F\n\n```bash\nuv add streamlit-bokeh\n```\n\n```python\nfrom bokeh.plotting import figure\nfrom streamlit_bokeh import streamlit_bokeh\n\np = figure(title=\"Simple Line\", x_axis_label=\"x\", y_axis_label=\"y\")\np.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)\nstreamlit_bokeh(p)\n```\n\n### streamlit-aggrid\n\nInteractive dataframes with sorting, filtering, cell editing, grouping, and pivoting. Use when you need customization beyond what `st.dataframe` and `st.data_editor` offer.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002FPablocFonseca\u002Fstreamlit-aggrid\n- **Docs:** https:\u002F\u002Fpypi.org\u002Fproject\u002Fstreamlit-aggrid\u002F\n\n```bash\nuv add streamlit-aggrid\n```\n\n```python\nfrom st_aggrid import AgGrid\n\nAgGrid(df, editable=True, filter=True)\n```\n\n**When to use aggrid over st.dataframe:**\n- Interactive row grouping and pivoting\n- Advanced filtering and sorting UI\n- Complex cell editing workflows\n- Custom cell renderers\n\n### streamlit-folium\n\nInteractive maps powered by Folium.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Frandyzwitch\u002Fstreamlit-folium\n- **Docs:** https:\u002F\u002Ffolium.streamlit.app\u002F\n\n```bash\nuv add streamlit-folium\n```\n\n```python\nimport folium\nfrom streamlit_folium import st_folium\n\nm = folium.Map(location=[37.7749, -122.4194], zoom_start=12)\nst_folium(m, width=700)\n```\n\n### pygwalker\n\nTableau-like drag-and-drop data exploration.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002FKanaries\u002Fpygwalker\n- **Docs:** https:\u002F\u002Fdocs.kanaries.net\u002Fpygwalker\n\n```bash\nuv add pygwalker\n```\n\n```python\nimport pygwalker as pyg\n\npyg.walk(df, env=\"Streamlit\")\n```\n\n### streamlit-extras\n\nA collection of community utilities. Cherry-pick what you need.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Farnaudmiribel\u002Fstreamlit-extras\n- **Docs:** https:\u002F\u002Fextras.streamlit.app\u002F\n\n```bash\nuv add streamlit-extras\n```\n\n```python\nfrom streamlit_extras.image_selector import image_selector\n\n# Let users click on regions of an image\nselection = image_selector(image, selections=[\"Region A\", \"Region B\"])\n```\n\n```python\nfrom streamlit_extras.vertical_slider import vertical_slider\n\n# A vertical slider widget\nvalue = vertical_slider(\"Volume\", min_value=0, max_value=100, default_value=50)\n```\n\n## Discover more\n\nBrowse the custom component gallery: https:\u002F\u002Fstreamlit.io\u002Fcomponents\n\nFilter by category, popularity, and recency to find custom components for your use case.\n\n## References\n\n- [Components Gallery](https:\u002F\u002Fstreamlit.io\u002Fcomponents)\n- [Build a custom component](https:\u002F\u002Fdocs.streamlit.io\u002Fdevelop\u002Fconcepts\u002Fcustom-components)\n","# Streamlit custom components\n\nExtend Streamlit with third-party custom components from the community.\n\n## What are custom components?\n\nCustom components are standalone Python libraries that add features not in Streamlit's core API. They're built by the community and can be installed like any Python package.\n\n## Installation\n\nInstall using the PyPI package name (not the repo name—they can differ):\n\n```bash\nuv add \u003Cpypi-package-name>\n```\n\nThen import according to the component's documentation. The import name often differs from the package name too.\n\n## Use with caution\n\nComponents are not maintained by Streamlit. Before adopting:\n\n- **Check maintenance** - Is it actively maintained? Recent commits?\n- **Check compatibility** - Does it work with your Streamlit version?\n- **Check popularity** - GitHub stars, downloads, community usage\n- **Consider alternatives** - Can you achieve this with core Streamlit?\n\nCustom components can break when Streamlit updates, so prefer core features when possible.\n\n## Popular custom components\n\n### streamlit-keyup\n\nText input that fires on every keystroke instead of waiting for enter\u002Fblur. Useful for live search.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Fblackary\u002Fstreamlit-keyup\n- **Docs:** https:\u002F\u002Fpypi.org\u002Fproject\u002Fstreamlit-keyup\u002F\n\n```bash\nuv add streamlit-keyup\n```\n\n```python\nfrom st_keyup import st_keyup\n\nquery = st_keyup(\"Search\", debounce=300)  # 300ms debounce\nfiltered = df[df[\"name\"].str.contains(query, case=False)]\nst.dataframe(filtered)\n```\n\n### streamlit-bokeh\n\nOfficial replacement for `st.bokeh_chart` (removed from Streamlit API). Maintained by Streamlit.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Fstreamlit\u002Fstreamlit-bokeh\n- **Docs:** https:\u002F\u002Fpypi.org\u002Fproject\u002Fstreamlit-bokeh\u002F\n\n```bash\nuv add streamlit-bokeh\n```\n\n```python\nfrom bokeh.plotting import figure\nfrom streamlit_bokeh import streamlit_bokeh\n\np = figure(title=\"Simple Line\", x_axis_label=\"x\", y_axis_label=\"y\")\np.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5], line_width=2)\nstreamlit_bokeh(p)\n```\n\n### streamlit-aggrid\n\nInteractive dataframes with sorting, filtering, cell editing, grouping, and pivoting. Use when you need customization beyond what `st.dataframe` and `st.data_editor` offer.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002FPablocFonseca\u002Fstreamlit-aggrid\n- **Docs:** https:\u002F\u002Fpypi.org\u002Fproject\u002Fstreamlit-aggrid\u002F\n\n```bash\nuv add streamlit-aggrid\n```\n\n```python\nfrom st_aggrid import AgGrid\n\nAgGrid(df, editable=True, filter=True)\n```\n\n**When to use aggrid over st.dataframe:**\n- Interactive row grouping and pivoting\n- Advanced filtering and sorting UI\n- Complex cell editing workflows\n- Custom cell renderers\n\n### streamlit-folium\n\nInteractive maps powered by Folium.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Frandyzwitch\u002Fstreamlit-folium\n- **Docs:** https:\u002F\u002Ffolium.streamlit.app\u002F\n\n```bash\nuv add streamlit-folium\n```\n\n```python\nimport folium\nfrom streamlit_folium import st_folium\n\nm = folium.Map(location=[37.7749, -122.4194], zoom_start=12)\nst_folium(m, width=700)\n```\n\n### pygwalker\n\nTableau-like drag-and-drop data exploration.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002FKanaries\u002Fpygwalker\n- **Docs:** https:\u002F\u002Fdocs.kanaries.net\u002Fpygwalker\n\n```bash\nuv add pygwalker\n```\n\n```python\nimport pygwalker as pyg\n\npyg.walk(df, env=\"Streamlit\")\n```\n\n### streamlit-extras\n\nA collection of community utilities. Cherry-pick what you need.\n\n- **Repo:** https:\u002F\u002Fgithub.com\u002Farnaudmiribel\u002Fstreamlit-extras\n- **Docs:** https:\u002F\u002Fextras.streamlit.app\u002F\n\n```bash\nuv add streamlit-extras\n```\n\n```python\nfrom streamlit_extras.image_selector import image_selector\n\n# Let users click on regions of an image\nselection = image_selector(image, selections=[\"Region A\", \"Region B\"])\n```\n\n```python\nfrom streamlit_extras.vertical_slider import vertical_slider\n\n# A vertical slider widget\nvalue = vertical_slider(\"Volume\", min_value=0, max_value=100, default_value=50)\n```\n\n## Discover more\n\nBrowse the custom component gallery: https:\u002F\u002Fstreamlit.io\u002Fcomponents\n\nFilter by category, popularity, and recency to find custom components for your use case.\n\n## References\n\n- [Components Gallery](https:\u002F\u002Fstreamlit.io\u002Fcomponents)\n- [Build a custom component](https:\u002F\u002Fdocs.streamlit.io\u002Fdevelop\u002Fconcepts\u002Fcustom-components)\n",{"name":5,"license":15,"description":7},"main","3efae68c898153694a2f4aad309c7ff9847b5602","installed-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-custom-components",0,"https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config","https:\u002F\u002Fgithub.com\u002Flegout","2026-04-28 16:32:33",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add legout\u002Fpi-config --skill using-streamlit-custom-components",{"tool":49,"command":50},"bunx","bunx skills add legout\u002Fpi-config --skill using-streamlit-custom-components",{"tool":52,"command":53},"pnpm","pnpm dlx skills add legout\u002Fpi-config --skill using-streamlit-custom-components","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-custom-components\u002FSKILL.md",true,[],[58,95,123,138,156,177],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":75,"publishedAt":31},"01M6KGW7MYKZ8MWFKN1V8ZJ2EG","visual-explainer","Generate beautiful, self-contained HTML pages that visually explain systems, code changes, plans, and data. Use when the user asks for a diagram, architecture overview, diff review, plan review, project recap, comparison table, or any visual explanation of technical concepts. Also use proactively when you are about to render a complex ASCII table (4+ rows or 3+ columns) — present it as a styled HTML page instead.","MIT","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-explainer\u002FSKILL.md",[65,70],{"categoryNo":66,"categoryName":67,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":71,"categoryName":72,"taxonomyType":73,"taxonomyTypeDesc":74},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[76,77,78,79,80,81,82,83,84,24,85,86,87,88,89,90,91,92,93,94],"visual explainer","explainer","visual","image","architecture","generate","plan","table","view","files","project","present","as","ascii table","ascii","you","concepts","surf","for",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":107,"publishedAt":31},"01M6KGTMTJR6RXXC8AF29MQQW5","table-extractor",">","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Ftable-extractor\u002FSKILL.md",[101,104],{"categoryNo":102,"categoryName":103,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":105,"categoryName":106,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000023","Skill与智能体开发",[83,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],"table extractor","PDF","MCP","gpt","extraction","office","data","parsing","extract","en","zh","camelot","sonnet","opus","tables",{"skillNo":124,"name":125,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":130,"publishedAt":31},"01M6KGSWF2R22Z63PAY5NT6GRY","smart-ocr","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fsmart-ocr\u002FSKILL.md",[128,129],{"categoryNo":102,"categoryName":103,"taxonomyType":68,"taxonomyTypeDesc":69},{"categoryNo":105,"categoryName":106,"taxonomyType":68,"taxonomyTypeDesc":69},[131,132,109,110,133,111,112,113,115,134,116,117,118,135,136,120,121,137],"ocr","smart ocr","support","text","multilingual","processing","paddleocr",{"skillNo":139,"name":140,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":148,"publishedAt":31},"01M6KGMKKFNC1PRNX2W3E243DR","html-slides","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fhtml-slides\u002FSKILL.md",[143,146,147],{"categoryNo":144,"categoryName":145,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":66,"categoryName":67,"taxonomyType":68,"taxonomyTypeDesc":69},{"categoryNo":105,"categoryName":106,"taxonomyType":68,"taxonomyTypeDesc":69},[149,150,151,152,110,153,111,113,117,118,154,155,120,121],"slides","html","html slides","pptx","web","revealjs","presentation",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":31},"01M6KGJGVM0TWW632Y6VQQV2WN","using-streamlit-session-state","Using st.session_state to manage state across Streamlit reruns. Use when persisting data, handling widget state, implementing callbacks, or debugging state issues. Covers initialization patterns, widget-state association, and common gotchas.","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-session-state\u002FSKILL.md",[],[163,164,20,165,166,167,168,114,169,24,170,171,172,173,174,175,176],"state","session","session state","using streamlit session state","debugging","issues","common","manage","patterns","across","widget","Callbacks","implementing","initialization",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":184,"publishedAt":31},"01M6KGJD12GJB7W0ZG66JK00F6","using-streamlit-markdown","Covers all Markdown features in Streamlit including GitHub-flavored syntax plus Streamlit extensions like colored text, badges, Material icons, and LaTeX. Use when formatting text, labels, tooltips, or any text-rendering element.","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-markdown\u002FSKILL.md",[183],{"categoryNo":102,"categoryName":103,"taxonomyType":68,"taxonomyTypeDesc":69},[185,20,186,187,188,189,134,190,24,191,192,193,194,195,196,197],"markdown","using streamlit markdown","github","icons","LaTeX","syntax","formatting","element","material","rendering","extensions","features","labels"]