Skip to content
qodex-ai avatar

Component Interface Design

Opinionated UI design guide applying Shadcn principles with strict typography, spacing, shadow, and accessibility rules.

CCM score
40 of 100
skills.sh installs
184
GitHub stars
50
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers UI design for dashboards, forms, cards, modals, and tables using React with Tailwind CSS
  • Enforces six rules: 2-3 font sizes per screen, 4px spacing scale, OKLCH color tokens, three shadow levels, 200-300ms animations, and WCAG AA contrast
  • Includes a pre-implementation quality checklist covering ARIA labels, keyboard focus styles, and responsive layout
  • Designed for developers building shadcn/ui-based interfaces who want consistent, accessible defaults

Install

$ npx -y skills add qodex-ai/ai-agent-skills --skill component-interface-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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>

Details

Repository
github.com/qodex-ai/ai-agent-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the component-interface-design skill do?

It designs interfaces using component libraries and design systems, creating cohesive UIs built from pre-built accessible component primitives. The skill follows Shadcn principles with minimalism, subtle shadows, high-contrast neutrals and responsive React code styled with Tailwind CSS.

How do I install the component-interface-design skill?

Run npx -y skills add qodex-ai/ai-agent-skills --skill component-interface-design -y in a project. Once installed, the agent can design and build UI screens, forms, cards and tables that follow the skill's design rules.

Which Frontend & UI Code skills lead this category?

In the Frontend & UI Code category, the skills listed alongside it include vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. This skill sets itself apart by focusing on a fixed set of Shadcn-style design rules for typography, spacing, color, shadows, animation and accessibility.

Who is component-interface-design for?

It is for developers who build React interfaces with Tailwind CSS and want consistent, accessible UI components. The workflow starts by asking about scope, page type and target file, then builds the UI before adding logic.

More from qodex-ai/ai-agent-skills

All 24

Similar to Component Interface Design

More Frontend & UI Code