Methodologydesign

building-components

Guide for building modern, accessible, and composable UI components. Use when building new components, implementing accessibility, creating composable APIs, setting up design tokens, publishing to npm/registry, or writing component documentation.

vercel/components.build
View source

Install

npx skills add https://github.com/vercel/components.build --skill building-components

Use with your agent

ClaudeCursorOpenAIGemini

Install the building-components skill, then use it as build context. Run: npx skills add https://github.com/vercel/components.build --skill building-components. Then read the installed skill.md and follow its guidance to build or refactor my project.

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

building-components skill.md · skillmd