UIUX Designer — Design Intelligence
Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 12 technology stacks. Searchable database with priority-based recommendations.
When to Activate This Skill
- Designing new UI components, pages, or full layouts
- Choosing color palettes, typography, and spacing systems
- Reviewing existing UI code for UX regressions
- Building landing pages, dashboards, SaaS interfaces, or e-commerce flows
- Implementing accessibility requirements (WCAG 2.2 AA minimum)
- Selecting design style and visual language for a new product
Workflow — Follow This Every Time
Step 1: Analyze Requirements
Extract these before generating anything:
- Product type: SaaS, e-commerce, portfolio, dashboard, landing page, mobile app
- Style keywords: minimal, playful, professional, elegant, dark mode, glassmorphism, brutalist
- Industry: healthcare, fintech, gaming, education, productivity, developer tools
- Stack: React, Vue, Next.js, Flutter, SwiftUI — default to
html-tailwind if unspecified
- Audience: consumer vs enterprise, technical vs non-technical
Step 2: Generate Design System (Always Required First)
python3 .agent/skills/uiux-designer/scripts/search.py "<keywords>" --design-system -p "Project Name"
Step 3: Supplement With Targeted Searches
python3 .agent/skills/uiux-designer/scripts/search.py "<keyword>" --domain <domain>
Step 4: Apply Stack-Specific Guidelines
python3 .agent/skills/uiux-designer/scripts/search.py "<keyword>" --stack html-tailwind
Design Principles — Non-Negotiable
Hierarchy First
Every screen has one primary action. If everything is emphasized, nothing is. Establish visual weight before touching color.
Consistency Over Creativity
Use design tokens for all colors, spacing, and typography. Never hardcode a hex value outside the token system. Inconsistency signals an unfinished product.
Accessibility Is a Feature
- Minimum contrast ratio: 4.5:1 for body text, 3:1 for large text (WCAG AA)
- All interactive elements must have visible focus states
- Never rely on color alone to convey meaning
- Touch targets: minimum 44×44px on mobile
Responsive Is Mandatory
- Mobile-first breakpoints: 320px → 768px → 1024px → 1440px
- No horizontal scroll on any viewport
- Typography scales with viewport — never fixed sizes on body text
Motion With Purpose
- Micro-animations: 150–300ms, ease-out
- Page transitions: 200–400ms
- Never animate just because you can — every animation must reduce cognitive load or signal state
Color System
Palette Selection Rules
- Use a 60/30/10 ratio: dominant / secondary / accent
- Dark mode must be designed from the start — never retrofitted
- Semantic colors are mandatory:
success, warning, error, info
- Surface hierarchy: background → surface → elevated surface → overlay
Common Palette Archetypes
| Style |
Primary |
Background |
Accent |
| SaaS Professional |
Indigo 600 |
Slate 50 |
Violet 500 |
| Dark Dashboard |
Blue 500 |
Gray 950 |
Cyan 400 |
| Fintech Trust |
Blue 700 |
White |
Green 500 |
| Consumer Playful |
Purple 500 |
White |
Pink 400 |
| Developer Tool |
Zinc 900 |
Zinc 950 |
Green 400 |
Typography System
Scale (always use a scale — never arbitrary sizes)
xs: 12px / 0.75rem
sm: 14px / 0.875rem
base: 16px / 1rem
lg: 18px / 1.125rem
xl: 20px / 1.25rem
2xl: 24px / 1.5rem
3xl: 30px / 1.875rem
4xl: 36px / 2.25rem
5xl: 48px / 3rem
Font Pairing Recommendations
| Use Case |
Heading |
Body |
| SaaS / Product |
Inter |
Inter |
| Editorial |
Playfair Display |
Source Serif 4 |
| Developer Tool |
JetBrains Mono |
Inter |
| Marketing |
Cal Sans |
Inter |
| Mobile App |
SF Pro (iOS) / Roboto (Android) |
System |
Rules
- Line height: 1.5 minimum for body, 1.2 for headings
- Letter spacing: -0.02em for large headings, 0 for body
- Max line length: 65–75 characters for readability
Spacing System
Use an 8px base grid. Every spacing value must be a multiple of 4px.
0.5: 2px (hairline)
1: 4px (tight)
2: 8px (compact)
3: 12px
4: 16px (default)
5: 20px
6: 24px (comfortable)
8: 32px (section)
10: 40px
12: 48px (generous)
16: 64px (hero)
24: 96px (page section)
Component Patterns
Cards
- Consistent padding: 24px default, 16px compact
- Border radius: 8px (subtle), 12px (modern), 16px (rounded)
- Shadow: use elevation system, never arbitrary box-shadow values
Forms
- Label always above input — never placeholder-only
- Error state: red border + error message below field (never just color)
- Success state: green checkmark or border
- Disabled state: 40% opacity, cursor not-allowed
- Min touch target: 44px height on all inputs
Navigation
- Max 7 items in primary nav (Miller's Law)
- Active state must be unmistakable — not just color
- Mobile: bottom navigation for apps, hamburger only as last resort
Tables / Data Grids
- Alternating row backgrounds only if data is dense (>10 columns)
- Sort indicators must be always visible, not on hover only
- Sticky header mandatory for tables > 10 rows
Empty States
- Never show a blank screen — always show context + action
- Illustration + headline + CTA button minimum
UX Anti-Patterns — Never Ship These
- Disabled buttons with no explanation — always tell the user why
- Modal on page load — interrupts before user has context
- Infinite scroll without position memory — breaks back button
- Form validation only on submit — validate on blur
- Link that looks like a button — pick one, be consistent
- Icon-only actions without tooltip — not everyone knows your icons
- Color as the only error indicator — fails accessibility
Output Checklist
Before delivering any UI work:
Rule
Design is not decoration. It is the product.
If a user cannot complete their goal without thinking about the UI, the design has failed.
Ship nothing you would not be proud to show in a portfolio.
1---2name: uiux-designer3description: Use this skill when designing UI components, choosing color palettes, implementing responsive layouts, or reviewing code for UX issues. For landing pages, dashboards, e-commerce, SaaS, and mobile apps. Provides 50+ design styles, 97 color palettes, 57 font pairings, and stack-specific guidelines for React, Vue, Next.js, Flutter, SwiftUI, and more.4---56# UIUX Designer — Design Intelligence78Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 12 technology stacks. Searchable database with priority-based recommendations.910---1112## When to Activate This Skill1314- Designing new UI components, pages, or full layouts15- Choosing color palettes, typography, and spacing systems16- Reviewing existing UI code for UX regressions17- Building landing pages, dashboards, SaaS interfaces, or e-commerce flows18- Implementing accessibility requirements (WCAG 2.2 AA minimum)19- Selecting design style and visual language for a new product2021---2223## Workflow — Follow This Every Time2425### Step 1: Analyze Requirements26Extract these before generating anything:27- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, mobile app28- **Style keywords**: minimal, playful, professional, elegant, dark mode, glassmorphism, brutalist29- **Industry**: healthcare, fintech, gaming, education, productivity, developer tools30- **Stack**: React, Vue, Next.js, Flutter, SwiftUI — default to `html-tailwind` if unspecified31- **Audience**: consumer vs enterprise, technical vs non-technical3233### Step 2: Generate Design System (Always Required First)34```bash35python3 .agent/skills/uiux-designer/scripts/search.py "<keywords>" --design-system -p "Project Name"36```3738### Step 3: Supplement With Targeted Searches39```bash40python3 .agent/skills/uiux-designer/scripts/search.py "<keyword>" --domain <domain>41```4243### Step 4: Apply Stack-Specific Guidelines44```bash45python3 .agent/skills/uiux-designer/scripts/search.py "<keyword>" --stack html-tailwind46```4748---4950## Design Principles — Non-Negotiable5152### Hierarchy First53Every screen has one primary action. If everything is emphasized, nothing is. Establish visual weight before touching color.5455### Consistency Over Creativity56Use design tokens for all colors, spacing, and typography. Never hardcode a hex value outside the token system. Inconsistency signals an unfinished product.5758### Accessibility Is a Feature59- Minimum contrast ratio: 4.5:1 for body text, 3:1 for large text (WCAG AA)60- All interactive elements must have visible focus states61- Never rely on color alone to convey meaning62- Touch targets: minimum 44×44px on mobile6364### Responsive Is Mandatory65- Mobile-first breakpoints: 320px → 768px → 1024px → 1440px66- No horizontal scroll on any viewport67- Typography scales with viewport — never fixed sizes on body text6869### Motion With Purpose70- Micro-animations: 150–300ms, ease-out71- Page transitions: 200–400ms72- Never animate just because you can — every animation must reduce cognitive load or signal state7374---7576## Color System7778### Palette Selection Rules79- Use a 60/30/10 ratio: dominant / secondary / accent80- Dark mode must be designed from the start — never retrofitted81- Semantic colors are mandatory: `success`, `warning`, `error`, `info`82- Surface hierarchy: background → surface → elevated surface → overlay8384### Common Palette Archetypes85| Style | Primary | Background | Accent |86|-------|---------|------------|--------|87| SaaS Professional | Indigo 600 | Slate 50 | Violet 500 |88| Dark Dashboard | Blue 500 | Gray 950 | Cyan 400 |89| Fintech Trust | Blue 700 | White | Green 500 |90| Consumer Playful | Purple 500 | White | Pink 400 |91| Developer Tool | Zinc 900 | Zinc 950 | Green 400 |9293---9495## Typography System9697### Scale (always use a scale — never arbitrary sizes)98```99xs: 12px / 0.75rem100sm: 14px / 0.875rem101base: 16px / 1rem102lg: 18px / 1.125rem103xl: 20px / 1.25rem1042xl: 24px / 1.5rem1053xl: 30px / 1.875rem1064xl: 36px / 2.25rem1075xl: 48px / 3rem108```109110### Font Pairing Recommendations111| Use Case | Heading | Body |112|----------|---------|------|113| SaaS / Product | Inter | Inter |114| Editorial | Playfair Display | Source Serif 4 |115| Developer Tool | JetBrains Mono | Inter |116| Marketing | Cal Sans | Inter |117| Mobile App | SF Pro (iOS) / Roboto (Android) | System |118119### Rules120- Line height: 1.5 minimum for body, 1.2 for headings121- Letter spacing: -0.02em for large headings, 0 for body122- Max line length: 65–75 characters for readability123124---125126## Spacing System127128Use an 8px base grid. Every spacing value must be a multiple of 4px.129130```1310.5: 2px (hairline)1321: 4px (tight)1332: 8px (compact)1343: 12px1354: 16px (default)1365: 20px1376: 24px (comfortable)1388: 32px (section)13910: 40px14012: 48px (generous)14116: 64px (hero)14224: 96px (page section)143```144145---146147## Component Patterns148149### Cards150- Consistent padding: 24px default, 16px compact151- Border radius: 8px (subtle), 12px (modern), 16px (rounded)152- Shadow: use elevation system, never arbitrary box-shadow values153154### Forms155- Label always above input — never placeholder-only156- Error state: red border + error message below field (never just color)157- Success state: green checkmark or border158- Disabled state: 40% opacity, cursor not-allowed159- Min touch target: 44px height on all inputs160161### Navigation162- Max 7 items in primary nav (Miller's Law)163- Active state must be unmistakable — not just color164- Mobile: bottom navigation for apps, hamburger only as last resort165166### Tables / Data Grids167- Alternating row backgrounds only if data is dense (>10 columns)168- Sort indicators must be always visible, not on hover only169- Sticky header mandatory for tables > 10 rows170171### Empty States172- Never show a blank screen — always show context + action173- Illustration + headline + CTA button minimum174175---176177## UX Anti-Patterns — Never Ship These178179- **Disabled buttons with no explanation** — always tell the user why180- **Modal on page load** — interrupts before user has context181- **Infinite scroll without position memory** — breaks back button182- **Form validation only on submit** — validate on blur183- **Link that looks like a button** — pick one, be consistent184- **Icon-only actions without tooltip** — not everyone knows your icons185- **Color as the only error indicator** — fails accessibility186187---188189## Output Checklist190191Before delivering any UI work:192193- [ ] Color tokens defined — no hardcoded hex values194- [ ] Typography uses the scale — no arbitrary sizes195- [ ] Spacing on the 8px grid196- [ ] Contrast ratios pass WCAG AA (4.5:1 text, 3:1 large)197- [ ] Focus states visible on all interactive elements198- [ ] Mobile viewport tested (320px minimum)199- [ ] Dark mode handled or explicitly deferred200- [ ] Empty, loading, and error states designed — not just the happy path201- [ ] Animations have purpose and are under 400ms202203---204205## Rule206207Design is not decoration. It is the product.208If a user cannot complete their goal without thinking about the UI, the design has failed.209Ship nothing you would not be proud to show in a portfolio.