mcpField
B
building-components

building-components

github.com/pedronauckDesign & UI647259 installsUpdated 1w ago
Repository

About building-components

A skill for developers building UI components, covering design, accessibility, composition, state, styling, and distribution. It serves teams creating reusable component libraries and documentation.

Key features

  1. 01Component taxonomy and design principles
  2. 02ARIA and keyboard accessibility
  3. 03Composable and polymorphic APIs
  4. 04Controlled and uncontrolled state
  5. 05Design tokens, theming, and styling
  6. 06Registry and npm distribution

Use cases

  1. 01Designing reusable UI primitives and blocks
  2. 02Adding keyboard navigation and ARIA support
  3. 03Building composable component APIs
  4. 04Publishing and documenting component libraries

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pedronauck/skills --skill building-components

After installing, type/building-componentsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
accessibility.mdx
as-child.mdx
composition.mdx
data-attributes.mdx
definitions.mdx
design-tokens.mdx
docs.mdx
marketplaces.mdx
npm.mdx
polymorphism.mdx
principles.mdx
registry.mdx
state.mdx
styling.mdx
types.mdx

Details

From the project README

Building Components

When to use this skill

Use when the user is:

  • Building new UI components (primitives, components, blocks, templates)
  • Implementing accessibility features (ARIA, keyboard navigation, focus management)
  • Creating composable component APIs (slots, render props, controlled/uncontrolled state)
  • Setting up design tokens and theming systems
  • Publishing components to npm or a registry
  • Writing component documentation
  • Implementing polymorphism or as-child patterns
  • Working with data attributes for styling/state

References

Comments

Markdown supported