pedronauck avatar

Building Components

This is your reference guide when you're building UI component libraries or design systems. It covers the full spectrum: ARIA and keyboard navigation for accessibility, composable APIs with slots and render props, the as-child pattern for polymorphism, design tokens and theming, and distribution strategies whether you're publishing to npm or setting up a shadcn-style registry. The real value is having battle-tested patterns for controlled vs uncontrolled state, data attributes for styling hooks, and TypeScript typing all in one place. It's opinionated about composition over configuration, which matches how modern component libraries like Radix and Ark actually work.

skills.sh installs
259
GitHub stars
652
last updated
Aug 21, 2026

Install

$ npx -y skills add pedronauck/skills --skill building-components --agent claude-code

Installs into .claude/skills of the current project.

Files

This is your reference guide when you're building UI component libraries or design systems. It covers the full spectrum: ARIA and keyboard navigation for accessibility, composable APIs with slots and render props, the as-child pattern for polymorphism, design tokens and theming, and distribution strategies whether you're publishing to npm or setting up a shadcn-style registry. The real value is having battle-tested patterns for controlled vs uncontrolled state, data attributes for styling hooks, and TypeScript typing all in one place. It's opinionated about composition over configuration, which matches how modern component libraries like Radix and Ark actually work.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/pedronauck/skills
Categories
Frontend Development, Documentation, Design & UI/UX
First seen
Jun 3, 2026

More from pedronauck/skills

All 70
1bfollington avatarbevybfollington/termaThis skill should be used when working on Bevy game engine projects. It provides specialized knowledge for Bevy's Entity Component System (ECS) architecture, co257skills.sh installs
2nexu-io avatarmotion-framesnexu-io/open-designA single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero vid249skills.sh installs
3nexu-io avatarsprite-animationnexu-io/open-designA pixel / sprite-style animated explainer slide — full-bleed cream stage, bold display year, animated pixel-art mascot (e.g. Hanafuda card, mushroom, or 8-bit c247skills.sh installs
4wix avatarwix-cli-dashboard-pluginwix/skillsUse when building widgets that extend Wix dashboard pages for first-party business apps. Triggers include dashboard plugin, dashboard slot, extend dashboard pag243skills.sh installs
5nexu-io avatarsimple-decknexu-io/open-designSingle-file horizontal-swipe HTML deck. Built by copying the seed `assets/template.html` (which carries the proven 5-rule iframe nav script) and pasting slide l242skills.sh installs
6thedivergentai avatargodot-genre-card-gamethedivergentai/gd-agentic-skillsExpert blueprint for digital card games (CCG/Deckbuilders) including card data structures (Resource-based), deck management (draw/discard/reshuffle), turn logic241skills.sh installs