building-streamlit-custom-components-v2

Develop bidirectional Streamlit Custom Components v2 using st.components.v2.component.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Aaron-Tawil/super-order-automation --skill building-streamlit-custom-components-v2-aaron-tawil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building-streamlit-custom-components-v2
Source: https://github.com/Aaron-Tawil/super-order-automation/tree/main/.codex/skills/developing-with-streamlit/skills/building-streamlit-custom-components-v2
Command: npx skills add https://github.com/Aaron-Tawil/super-order-automation --skill building-streamlit-custom-components-v2-aaron-tawil

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation of custom, interactive user interface elements within Streamlit applications that go beyond Streamlit's built-in widgets.

Core Features & Use Cases

  • Custom UI Elements: Develop bespoke components using HTML, CSS, and JavaScript.
  • Bidirectional Communication: Implement components that can send data back to Python and receive updates from Python.
  • Use Case: Integrate a rich text editor, a custom data visualization, or a complex form input into your Streamlit dashboard.

Quick Start

Use the building-streamlit-custom-components-v2 skill to create a simple inline text input component that syncs its value with Python.

Frequently Asked Questions about building-streamlit-custom-components-v2

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

FAQPage Schema
How do I create custom interactive UI elements in Streamlit?

To create custom interactive UI elements in Streamlit, you can build bidirectional Custom Components using HTML, CSS, and JavaScript. This approach enables bespoke interfaces like rich text editors or complex data visualizations beyond built-in widgets.

Can I use Vite to bundle Streamlit custom components?

Yes, you can use Vite to bundle Streamlit custom components. This Skill supports packaging components with manifest definitions, allowing you to bundle complex frontend assets and manage your component build process effectively.

Do I need JavaScript to build Streamlit custom components?

Yes, you need JavaScript to build Streamlit custom components. Developing these interactive UI elements requires writing HTML, CSS, and JavaScript to implement the frontend logic and establish bidirectional communication with Python.

What is the best way to apply theming to Streamlit custom components?

The best way to apply theming to Streamlit custom components is by using CSS variables. This Skill supports theming via CSS variables, ensuring your custom UI elements visually align with the broader Streamlit application theme.

When should I use inline HTML instead of packaged components in Streamlit?

Use inline HTML in Streamlit for simple custom components like a basic text input, while packaged components with manifest definitions are better for complex bundled assets. This Skill facilitates both inline and packaged component approaches.