mcpField
B
building-components

building-components

github.com/kokonut-labsDevelopment2.3k83 installsUpdated today
Repository

About building-components

A skill for designing and building UI components, aimed at developers creating accessible, composable component systems. It covers component patterns from API design and state to theming, distribution, and documentation.

Key features

  1. 01Component taxonomy and design principles
  2. 02Accessibility and keyboard navigation
  3. 03Composable APIs and polymorphism
  4. 04State and TypeScript patterns
  5. 05Design tokens and styling
  6. 06Registry, npm, and documentation guidance

Use cases

  1. 01Building accessible UI primitives and components
  2. 02Designing controlled or composable component APIs
  3. 03Creating a token-based theme
  4. 04Publishing and documenting a component library

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/kokonut-labs/kokonutui --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