building-compound-components

Community

Ship unstyled compound components fast.

AuthorSri-Krishna-V
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables developers to create unstyled, highly composable compound components that separate business logic from rendering, improving reuse and maintainability in UI libraries.

Core Features & Use Cases

  • Provides a structured pattern (Root, Trigger, Content, Steps, Status) to compose Radix-style, headless components.
  • Encourages context-driven state sharing, render-prop patterns, and asChild polymorphism for flexible composition across projects.
  • Use cases include building component libraries, design-system primitives, and headless UI primitives where consumers control rendering and styling.

Quick Start

Export a CompoundComponents namespace that wires Root, Trigger, Content, and optional parts, then render them with render props for state access.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: building-compound-components
Download link: https://github.com/Sri-Krishna-V/Derived-WMD/archive/main.zip#building-compound-components

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.