0180-web-component-design
CommunityDesign reusable UI components with clean patterns.
AuthorMrJmpl3
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you build reusable, maintainable frontend UI components while avoiding common pitfalls in composition, styling, and component API design.
Core Features & Use Cases
- Reusable component architecture: Build compound components, render-prop patterns, and slot-based APIs that scale across a codebase.
- Framework-aware composition strategies: Implement composition patterns for React (compound components/context), Vue 3 (composables/provide-inject), and Svelte 5 (runic patterns).
- CSS-in-JS and styling approach selection: Choose among Tailwind, CSS Modules, styled-components, Emotion, and Vanilla Extract based on runtime/SSR/performance tradeoffs.
- Accessible, responsive UI components: Apply accessibility defaults like ARIA roles, focus management, and keyboard-friendly behavior.
- Robust component APIs: Use semantic props, sensible defaults, controlled vs uncontrolled modes, and polymorphic/forwardRef patterns.
Quick Start
Build a reusable button and accordion component that supports variants, sizes, controlled/uncontrolled behavior, and accessible keyboard interaction using the patterns from this Skill.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: 0180-web-component-design Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0180-web-component-design Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.