# component-interface-design

The component-interface-design skill guides React UI work with Tailwind CSS and shadcn/ui. Use it for dashboards, forms, cards, tables, and other responsive screens.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 183 installs · ★ 50 repo stars
- Author: qodex-ai
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qodex-ai/ai-agent-skills/tree/HEAD/skills/component-interface-design/SKILL.md
- Updated: 2026-01-05
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/component-interface-design

## What it does

component-interface-design guides interface work around shadcn/ui, Tailwind CSS, and accessible component primitives. Its rules cover typography, spacing, colors, shadows, motion, and accessibility. The approach uses a 4px spacing scale, theme variables, ARIA labels, keyboard focus styles, and WCAG 2.1 AA contrast.

The workflow starts by clarifying the screen type, target file, required features, and displayed data. It then builds the visual layer first, aligns new work with the existing application, splits large pages into reusable components, and checks mobile, tablet, and desktop layouts. Included patterns cover dashboards, forms, and data tables.

The skill is aimed at responsive React output styled with Tailwind CSS, so that stack needs to fit the project. Motion examples use 200–300ms transitions, while shadows are limited to three levels.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill component-interface-design -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/component-interface-design/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/component-interface-design/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill component-interface-design -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/component-interface-design/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill component-interface-design -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/component-interface-design/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install qodex-ai/ai-agent-skills skills/component-interface-design
```

2. **Manually: put the files in place**
- File: `.github/skills/component-interface-design/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill component-interface-design -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/qodex-ai/ai-agent-skills --path skills/component-interface-design
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/component-interface-design/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill component-interface-design -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qodex-ai/ai-agent-skills/tree/HEAD/skills/component-interface-design/SKILL.md

## When to use it
- build a dashboard from metric cards
- style an accessible form with focus states
- split a large page into reusable components
- create a shadcn/ui data table
- check responsive layout and color contrast

## Example prompts
- Build a dashboard in `Dashboard.tsx` with metric cards and shadcn/ui components.
- Create a signup form in `SignupForm.tsx` with React and Tailwind CSS, including ARIA labels and keyboard focus styles.
- Update `OrdersTable.tsx` to match the app’s existing design and check its mobile layout.

## Similar
- [api-and-interface-design](https://affpapa.org/en/nevibecode/skills/api-and-interface-design.md) — skill · 79800 installs
- [interface-design](https://affpapa.org/en/nevibecode/skills/interface-design.md) — skill · 34300 installs
- [interface-design-dammyjay](https://affpapa.org/en/nevibecode/skills/interface-design-dammyjay.md) — skill · 211 installs
- [go-interface-design](https://affpapa.org/en/nevibecode/skills/go-interface-design.md) — skill · ★ 90 repo stars
- [web-component-design](https://affpapa.org/en/nevibecode/skills/web-component-design.md) — skill · 13167 installs
- [design-component](https://affpapa.org/en/nevibecode/skills/design-component.md) — skill · 604 installs

From the same set: [qodex-ai/ai-agent-skills](https://affpapa.org/en/nevibecode/by/qodex-ai/ai-agent-skills.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
