
UI component builder
Guides an agent to build reusable UI components with accessibility and all states
UI component builder is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 6
- Last commit
- License
- MIT
- Listing updated
Similar skills
About UI component builder
This skill walks an AI coding agent through designing a new reusable UI component before writing it. The agent first looks at the project's existing stack, component library, and any design token file, then plans the component's API, which props are required, and whether it should use composition. It works through the states a component can be in, such as loading, empty, error, and disabled, along with edge cases like long text, many items, and mobile, tablet, and desktop layouts.
The skill sets hard rules: new design tokens need a DESIGN.md source and should not be invented on the fly, interactive elements must be keyboard operable with correct ARIA semantics and WCAG 2.1 AA contrast, and components that grow past roughly eight props should be split or use composition. It also provides a structured output template covering the architecture brief, props table, states, accessibility notes, implementation, usage examples and tests. The example code is a React and TypeScript button using Tailwind-style classes, which the agent adapts to the project's own stack.
The skill expects a project with a readable codebase map and ideally a DESIGN.md, and it is meant to be used with the companion review skills for visual and accessibility audits. It is distributed as part of the claude-code-kit Claude Code plugin marketplace under an MIT license.
When your agent uses it
Build production-ready UI components with accessibility, loading/empty/error states, responsive behavior, and reusable props — not retrofitted polish. Use when creating a new component. To review an existing UI use /design-review instead.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (10 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-code-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kitOr copy only this skill to ~/.claude/skills/ui-component-builder:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ui-component-builder &&
cp -R "$tmp/.claude/skills/ui-component-builder" ~/.claude/skills/ui-component-builder &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ui-component-builder inside it instead.
Copy the skill folder to ~/.agents/skills/ui-component-builder to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ui-component-builder &&
cp -R "$tmp/.claude/skills/ui-component-builder" ~/.agents/skills/ui-component-builder &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ui-component-builder inside it instead.
Copy the skill folder to ~/.cursor/skills/ui-component-builder to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ui-component-builder &&
cp -R "$tmp/.claude/skills/ui-component-builder" ~/.cursor/skills/ui-component-builder &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ui-component-builder inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/ui-component-builderOr copy the folder to ~/.gemini/skills/ui-component-builder yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ui-component-builder:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ui-component-builder &&
cp -R "$tmp/.claude/skills/ui-component-builder" ~/.copilot/skills/ui-component-builder &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ui-component-builder inside it instead.
Get the folder:
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.gitThen copy claude-code-kit/.claude/skills/ui-component-builder into your agent's skills folder as ui-component-builder. Agents that support SKILL.md read one folder per skill.
What it does
- Context gathering first
- Locates the project's stack, component library and existing similar components before any code is written.
- Component API design
- Plans props, slots, controlled versus uncontrolled inputs, and events following the project's naming.
- Full state coverage
- Enumerates default, hover, focus, disabled, loading, empty, error and read-only states.
- Accessibility wiring
- Covers semantic HTML, keyboard behaviour, ARIA use, focus management and WCAG AA contrast.
- Responsive and edge cases
- Checks long content, empty data, slow or failed networks and mobile through desktop layouts.
- Structured component package
- Produces a brief, props table, states, implementation, usage examples and test outline.
Good for
- Build a reusable modal with focus trapping and an accessible close action
- Create a data table component that handles loading, empty and error states
- Design a form field component with validation messages and ARIA associations
- Extract a one-off card from a page into a reusable component with a clear props API
- Redesign an existing button to meet accessibility and responsive standards
UI component builder FAQ
When should I use UI component builder instead of the design review skills?
Use it when creating a new component. The skill's own notes say that for reviewing an existing UI you should use /design-review, and for an accessibility audit of existing components use /accessibility-audit.
Does UI component builder require a DESIGN.md file?
It works without one, but the skill says that building production components without design tokens leads to inconsistency, so it raises the missing file as an open question and does not add new tokens on its own.
Which frameworks does the example code target?
The included example is React with TypeScript and Tailwind-style classes, and the skill says to adapt it to the project's own stack.
Does the skill run any scripts?
No. The skill folder contains only a SKILL.md file and no scripts.
How do I install UI component builder in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ui-component-builder to use it in all your projects, or to .claude/skills/ui-component-builder in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.
Does UI component builder run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use UI component builder?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to UI component builder?
The closest alternatives to UI component builder are Frontend UI engineering, UI, Accessibility, React container presentation component and 21st UI.
Where this comes from
- Description: from the skill's own SKILL.md.
More from tansuasici/claude-code-kit

Audits UI code against WCAG 2.1 AA for semantics, keyboard use, contrast and ARIA
- Open source
- 6 GitHub stars
- Developer tools

Audits a codebase's structure for SOLID violations, coupling and module boundary issues
- Open source
- 6 GitHub stars
- Developer tools

Lists the skills, agents, hooks and modules installed in a kit-enabled project
- Open source
- 6 GitHub stars
- Developer tools

Audits code for smells, error-handling gaps and maintainability issues with fixes
- Open source
- 6 GitHub stars
- Developer tools

Guides the agent to write and extend a project's golden-principles.yaml rule file
- Open source
- 6 GitHub stars
- Developer tools

Finds unused functions, dead imports, orphan files and unreachable branches in a codebase
- Open source
- 6 GitHub stars
- Developer tools





