What problem does it solve?
Many teams struggle to build consistent, accessible, and composable UI components across frameworks, leading to duplicated work, fragile APIs, and style conflicts. This Skill helps engineers and designers standardize component APIs, composition patterns, and styling strategies so components are maintainable, testable, and easy to reuse.
Core Features & Use Cases
- Cross-framework composition: Patterns and examples for React compound components and render props, Vue composables and slots, and Svelte component conventions.
- Styling strategies: Guidance on Tailwind, CSS Modules, styled-components, Emotion, and Vanilla Extract including tradeoffs for SSR, runtime, and bundle size.
- API design & patterns: Polymorphic components, controlled vs uncontrolled inputs, forward refs, and minimizing prop explosion with composition.
- Accessibility & UX: ARIA patterns, focus management, live regions, and keyboard interactions for modals, menus, comboboxes, and forms.
- Use Case: Create a design system with accessible, themeable buttons, inputs, and layout primitives that work in React, Vue, or Svelte and integrate with your build and SSR pipeline.
Quick Start
Create a React Button component using Tailwind with accessible ARIA attributes, props for variant and size, loading/disabled states, and forwardRef support.