Labsco
vercel logo

building-components

✓ Official775

by vercel · part of vercel/components.build

Comprehensive guide for building modern, accessible, and composable UI components. Covers component taxonomy (primitives, components, blocks, templates), core design principles, and accessibility implementation including ARIA, keyboard navigation, and WCAG compliance Includes patterns for composable APIs, polymorphism, controlled/uncontrolled state, and the as-child pattern for flexible element composition Provides guidance on design tokens, theming systems, styling approaches, and using...

🔥🔥🔥🔥✓ VerifiedFreeQuick setup
🧰 Not standalone. This skill ships with vercel/components.build and only works together with that tool — install the tool first, then add this skill.

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.

by vercel

Comprehensive guide for building modern, accessible, and composable UI components. Covers component taxonomy (primitives, components, blocks, templates), core design principles, and accessibility implementation including ARIA, keyboard navigation, and WCAG compliance Includes patterns for composable APIs, polymorphism, controlled/uncontrolled state, and the as-child pattern for flexible element composition Provides guidance on design tokens, theming systems, styling approaches, and using... npx skills add https://github.com/vercel/components.build --skill building-components Download ZIPGitHub775

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