using-streamlit-custom-components

Install and import third-party custom components into Streamlit apps.

224|23|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/streamlit/agent-skills --skill using-streamlit-custom-components-streamlit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-streamlit-custom-components
Source: https://github.com/streamlit/agent-skills/tree/main/developing-with-streamlit/skills/using-streamlit-custom-components
Command: npx skills add https://github.com/streamlit/agent-skills --skill using-streamlit-custom-components-streamlit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Custom components let you extend Streamlit beyond core features by integrating third-party Python libraries and UI widgets.

Core Features & Use Cases

  • Install & import: Discover and install community components and import them per their documentation.
  • Popular components: streamlit-keyup, streamlit-bokeh, streamlit-aggrid, streamlit-folium, pygwalker, streamlit-extras.
  • When to use: Choose custom components to access advanced widgets and integrations not available in core Streamlit.

Quick Start

Install a chosen component with its recommended package name and reference its documentation to integrate it into your Streamlit app.

Frequently Asked Questions about using-streamlit-custom-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add third-party widgets to my Streamlit app?

To add third-party widgets to your Streamlit app, discover and install a community component via pip, then import it into your Python script following its specific documentation. This extends your application with specialized UI extensions.

When do I need custom components in Streamlit?

You need custom components in Streamlit when you require richer UI, advanced widgets, or specialized visualizations not available in the core API. They bridge the gap by integrating external Python libraries and third-party UI elements into your application.

What are the most popular community components for Streamlit?

Popular community components for Streamlit include streamlit-aggrid for data grids, streamlit-folium for maps, streamlit-bokeh for plots, pygwalker for analysis, streamlit-keyup for text input, and streamlit-extras for UI utilities.

Can I use external Python libraries with Streamlit?

Yes, you can use external Python libraries with Streamlit by wrapping them as custom components. This allows you to embed specialized third-party visualizations and advanced widgets directly within your app interface.

How do I install a Streamlit custom component?

To install a Streamlit custom component, use the pip package manager to install the component using its recommended package name. After installation, import the module into your Streamlit app and reference its documentation for integration steps.