building-components

Build composable, accessible UI components with design tokens and documentation.

1|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/Asymmetric-al/asym-web --skill building-components-asymmetric-al
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: building-components
Source: https://github.com/Asymmetric-al/asym-web/tree/main/.agents/skills/building-components
Command: npx skills add https://github.com/Asymmetric-al/asym-web --skill building-components-asymmetric-al

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This guide helps teams design and implement modern, accessible, and composable UI components. It reduces duplication, enforces consistent API design, and provides patterns for tokens, documentation, and distribution.

Core Features & Use Cases

  • Composable Primitives: create reusable building blocks with slots, render props, and as-child-like patterns for flexible composition.
  • Accessibility by Default: embed ARIA attributes, keyboard navigation, and focus management in component APIs.
  • Design Tokens & Theming: align components with design tokens, theming, and tokens-driven styling for scalable design systems.
  • Documentation & Registry Guidance: provide structured references and docs to streamline adoption, sharing, and maintenance.

Quick Start

Create a new UI component following the building-components pattern with accessible primitives, composition, tokens, and documentation.

Frequently Asked Questions about building-components

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build accessible UI components with composable primitives?

Build accessible UI components by creating reusable primitives with slots and render props. This enforces consistent API design while embedding ARIA attributes and keyboard navigation directly into the component architecture.

What's the best way to theme a design system using design tokens?

Theme a design system by aligning UI components with design tokens for tokens-driven styling. This creates a scalable architecture that enforces consistent visual language and reduces duplication across the component library.

How do I structure documentation for a scalable component library?

Structure component documentation by providing structured references that streamline adoption and maintenance. Comprehensive docs ensure teams understand accessibility baselines, composition patterns, and token usage within the design system.

Does this approach work for publishing primitives to an npm registry?

Yes, this approach supports publishing primitives to an npm registry. It provides distribution patterns that reduce duplication and enforce consistent API design, ensuring components remain composable and accessible when shared across teams.

Why do my custom UI components fail accessibility baselines?

Custom UI components fail accessibility baselines when ARIA attributes, keyboard navigation, and focus management are not embedded in the component API. Enforcing composability and accessibility patterns during the build process resolves these gaps.