mcpField
B
building-components

building-components

github.com/vercelDesign & UI80214.8k installsUpdated 29w ago
Repository

About building-components

Building Components is a guidance skill for developing UI components and design systems. It is aimed at component developers and design-system maintainers, covering accessibility, composition, state, theming, distribution, and documentation.

Key features

  1. 01Component taxonomy and design principles
  2. 02ARIA and keyboard accessibility
  3. 03Composable and polymorphic API patterns
  4. 04State management and data attributes
  5. 05Design tokens, theming, and distribution
  6. 06Component documentation

Use cases

  1. 01Design a composable UI component API
  2. 02Implement keyboard navigation and focus management
  3. 03Build a theming and design-token system
  4. 04Distribute components and write documentation

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/vercel/components.build --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