From ui-design
Design system and aesthetic guidance for building distinctive, production-grade UI. Use when the user asks to "design a UI", "create a design system", "pick fonts", "choose colors", "review the design", "improve the aesthetics", or discusses typography, layout composition, motion design, or visual polish. Complements the official frontend-design skill by focusing on systematic design decisions rather than creative generation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ui-design:frontend-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides systematic design guidance for building cohesive, production-grade interfaces. It complements (does not replace) the official `frontend-design` skill — use `frontend-design` for creative generation, use this for design system decisions and consistency.
This skill provides systematic design guidance for building cohesive, production-grade interfaces. It complements (does not replace) the official frontend-design skill — use frontend-design for creative generation, use this for design system decisions and consistency.
| Scenario | Use This Skill | Use frontend-design |
|---|---|---|
| "Pick fonts for my SaaS app" | Yes | No |
| "Build me a landing page" | No | Yes |
| "Create a color system" | Yes | No |
| "Make this look better" | No | Yes |
| "Set up design tokens" | Yes | No |
| "Review design consistency" | Yes | No |
Choose a display font (headings) and a body font (text). They should contrast in style but share visual weight.
Pairing archetypes:
| Archetype | Display | Body | Vibe |
|---|---|---|---|
| Modern SaaS | Satoshi, General Sans | Inter, DM Sans | Clean, professional |
| Editorial | Playfair Display, Fraunces | Source Serif 4, Lora | Authoritative, refined |
| Geometric | Space Grotesk, Outfit | Work Sans, Nunito | Technical, approachable |
| Humanist | Bricolage Grotesque, Cabinet Grotesk | Atkinson Hyperlegible, Lexend | Warm, accessible |
| Mono-first | JetBrains Mono, Berkeley Mono | IBM Plex Sans, Geist | Developer, technical |
| Expressive | Clash Display, Zodiak | Switzer, Plus Jakarta Sans | Bold, startup |
Use a modular scale. For most UIs, a 1.25 ratio (Major Third) works:
:root {
--text-xs: 0.64rem; /* 10.24px */
--text-sm: 0.8rem; /* 12.8px */
--text-base: 1rem; /* 16px */
--text-lg: 1.25rem; /* 20px */
--text-xl: 1.563rem; /* 25px */
--text-2xl: 1.953rem; /* 31.25px */
--text-3xl: 2.441rem; /* 39px */
--text-4xl: 3.052rem; /* 48.8px */
}
For more dramatic headlines, use 1.333 (Perfect Fourth) or 1.5 (Perfect Fifth).
line-height: 1.5-1.7line-height: 1.1-1.3-0.02em to -0.04em (tighten)0.05em to 0.1em (open up):root {
/* Surface hierarchy */
--bg-primary: var(--neutral-50);
--bg-secondary: var(--neutral-100);
--bg-tertiary: var(--neutral-200);
/* Text hierarchy */
--text-primary: var(--neutral-900);
--text-secondary: var(--neutral-600);
--text-tertiary: var(--neutral-400);
/* Interactive */
--accent: var(--brand-500);
--accent-hover: var(--brand-600);
--accent-subtle: var(--brand-50);
/* Feedback */
--success: #16a34a;
--warning: #d97706;
--error: #dc2626;
--info: #2563eb;
}
contrast-ratio.com or browser DevTools to verifyDon't just invert. Instead:
--neutral-950 or --neutral-900 as base, not #000Use a consistent spacing scale based on 4px or 8px:
:root {
--space-1: 0.25rem; /* 4px */
--space-2: 0.5rem; /* 8px */
--space-3: 0.75rem; /* 12px */
--space-4: 1rem; /* 16px */
--space-5: 1.5rem; /* 24px */
--space-6: 2rem; /* 32px */
--space-8: 3rem; /* 48px */
--space-10: 4rem; /* 64px */
--space-12: 6rem; /* 96px */
--space-16: 8rem; /* 128px */
}
--space-12 to --space-16 between sections)--space-4 to --space-6max-width: 65ch):root {
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
| Action | Duration | Example |
|---|---|---|
| Micro-interaction | 100-200ms | Button press, toggle |
| State change | 200-300ms | Hover effects, accordion |
| Enter/appear | 300-500ms | Modal open, page element |
| Exit/leave | 150-250ms | Modal close, dismiss |
| Page transition | 300-600ms | Route change |
prefers-reduced-motion — always provide a reduced-motion fallbackWhen reviewing a UI, check:
references/design-tokens.md — Common token structures for Tailwind, CSS variables, and Figmanpx claudepluginhub squizai/cc_skillz_marketplace --plugin ui-designGuides UI/UX decisions, layout, typography, color and accessibility with a two-path flow: follow existing design systems or run design discovery for greenfield projects.
Provides UI/UX design guidance for unique, accessible web interfaces covering colors, typography, layouts. Always asks before decisions; activates for building web components, pages, apps.
Senior-level UI/UX design expert for building data-driven, premium production interfaces. Use when you need to: 1. Design complex applications (dashboards, SaaS, AI tools) from scratch 2. Generate comprehensive design systems (tokens, palettes, typography) 3. Audit existing UI for quality, accessibility, and "craft" 4. Search for proven real-world design patterns and implementation details Trigger: "design a...", "audit this...", "create a design system", "find icons", "fintech dashboard", "landing page"