
Component Interface Design
This is a comprehensive guide for building UIs with shadcn/ui and Tailwind CSS. It enforces strict design constraints: two to three font weights max, 4px-based spacing, three shadow levels, and 200-300ms animations. The workflow pushes you to complete the visual interface before adding logic, which keeps designs clean and prevents the usual React mess of interleaved state and markup. Includes checklists for accessibility (ARIA labels, WCAG AA contrast, keyboard focus) and ready-to-use patterns for dashboards, forms, and data tables. The core philosophy prompt is useful if you want Claude to internalize the design system quickly. Best for teams that want enforced consistency rather than creative freedom.
- skills.sh installs
- 182
- GitHub stars
- 48
- last updated
- Aug 21, 2026
Install
$ npx -y skills add qodex-ai/ai-agent-skills --skill component-interface-design --agent claude-codeInstalls into .claude/skills of the current project.
Files
Shadcn UI Designer
Core Design Prompt
When designing any UI, apply this philosophy:
"Design a modern, clean UI following Shadcn principles: apply minimalism with ample white space and simple sans-serif typography; use strategic, subtle shadows for depth and hierarchy; ensure accessibility with high-contrast neutrals and scalable elements; provide beautiful defaults for buttons, cards, and forms that compose modularly; incorporate fluid, non-intrusive animations; maintain a professional palette of soft grays, whites, and minimal accents like purple; output as responsive, customizable React code with Tailwind CSS."
Design Rules
1. Typography Rule
- Limit to 2-3 font weights and sizes per screen
- Use Inter or system fonts for consistency
<h1 className="text-2xl font-semibold">Title</h1>
<p className="text-sm text-muted-foreground">Description</p>
2. Spacing Rule
- 4px-based scale: 4px, 8px, 16px, 24px, 32px
- Tailwind utilities:
p-1,p-2,p-4,p-6,p-8
<div className="p-6 space-y-4">
<div className="mb-8">...</div>
</div>
Sponsors
Details
- Repository
- github.com/qodex-ai/ai-agent-skills
- Categories
- Frontend Development, AI & Agent Building, Design & UI/UX
- First seen
- Jun 3, 2026
More from qodex-ai/ai-agent-skills
All 24- Market Intelligence Gather172
- Data Organization System166
- Prospect Investigation163
- Browser Automation Framework160
- Word Document Processor3.6K
- Multi Agent Orchestration2.1K
- Financial Analysis Agent1.3K
- Legal Document Analyzer1.2K
- Ecommerce Platform Specialist657
- Spreadsheet Processor626
- Creative Generation Agent572
- Chat With Arxiv303
- Deep Research Agent287
- Autonomous Agent Gaming272
- Rag Agent Builder261
- Generate Swagger Docs255
- System Design217
- Voice Ai Integration209
- User Interface Designer206
- Presentation Builder201
- Financial Document Management195
- Llm Fine Tuning Guide194
- Aesthetic Analysis190