Frontend Design — Anti-Generic UI
Create interfaces that are distinctive, memorable, and intentional. Fight against the sea of identical AI-generated UIs.
Core Philosophy
Every pixel is a decision. Generic is the enemy of great.
Most AI-generated UIs look the same: same rounded corners, same gradient buttons, same card layouts. This skill teaches you to break free.
The 5 Design Pillars
1. Typography as Architecture
Typography is 80% of web design. Master it.
- Choose 2 fonts maximum: 1 display + 1 body
- Create a modular scale: 12, 14, 16, 20, 24, 32, 40, 48, 64px
- Use weight contrast, not just size, for hierarchy
- Letter-spacing: tighter for headings, normal for body
- Line-height: 1.1-1.2 for headings, 1.5-1.7 for body
Font Pairing Examples:
| Display |
Body |
Vibe |
| Space Grotesk |
Inter |
Tech, modern |
| Playfair Display |
Source Sans 3 |
Editorial, elegant |
| Clash Display |
Satoshi |
Bold, contemporary |
| Fraunces |
Work Sans |
Warm, approachable |
| JetBrains Mono |
IBM Plex Sans |
Developer, precise |
2. Color as Emotion
Avoid generic: blue hero, white body, gray footer.
Instead, build a palette that tells a story.
Palette Building Process:
- Start with ONE signature color (not primary blue!)
- Build 5-shade scale: lightest → darkest
- Add 1 accent color (complementary or analogous)
- Define semantic colors: success, warning, error, info
- Create dark mode variants (don't just invert!)
Color Relationships:
| Type |
Method |
Example |
| Monochromatic |
Shades of one hue |
Deep navy → light sky |
| Complementary |
Opposite on wheel |
Teal + coral |
| Analogous |
Adjacent hues |
Purple → blue → teal |
| Split Complementary |
Main + 2 adjacents of complement |
Yellow + blue-purple + red-purple |
3. Motion as Communication
Animation should communicate, not decorate.
Purposeful motion: Decorative motion:
✅ Show state change ❌ Spinning logos
✅ Guide attention ❌ Parallax everything
✅ Provide feedback ❌ Bouncing elements
✅ Establish spatial relationships ❌ Auto-playing carousels
Timing Guidelines:
| Interaction |
Duration |
| Button feedback |
100-150ms |
| Menu open/close |
150-250ms |
| Page transition |
200-400ms |
| Complex animation |
300-500ms |
| Attention-grab |
600-1000ms |
Easing:
ease-out for entering elements (fast start, slow end)
ease-in for exiting elements (slow start, fast end)
ease-in-out for elements that stay on screen
- Never use
linear (feels robotic)
4. Spatial Composition
Whitespace is not empty space — it's breathing room.
Rules:
- Related items: 8-16px gap
- Sections: 48-96px gap
- Page margins: 5-10% of viewport
- Asymmetry > symmetry for visual interest
- Grid systems: 4px or 8px base unit
Layout Principles:
- Rhythm: Consistent vertical spacing creates visual flow
- Hierarchy: Size + weight + color + space = importance
- Alignment: Invisible lines connect related elements
- Contrast: Light vs dark, large vs small, dense vs sparse
5. Detail Obsession
The difference between good and great is in the details:
- Border radius: consistent across the entire UI (pick one: 4px, 8px, 12px)
- Shadows: subtle, directional, with color tinting
- Borders: 1px with low-opacity dark color, not solid gray
- Icons: stroke width matches font weight
- Hover states: every interactive element has one
- Focus states: visible, accessible, styled (not default blue outline)
Reference Navigation
- Design Tokens — Building a complete token system (spacing, color, type, motion)
- Layout Patterns — Hero sections, dashboards, landing pages, editorial layouts
- Component Styling — Buttons, cards, inputs, navigation with personality
- Design Inspiration — Reference sites, award galleries, trend analysis
Anti-Generic Checklist
Before shipping any interface, ask:
Related Skills
1---2name: frontend-design3description: Distinctive frontend interface design — bold aesthetic direction, custom design systems, typography mastery, color theory, motion design, spatial composition, anti-generic patterns. Use when designing UIs, creating visual identity, establishing design direction, or elevating interface aesthetics beyond generic templates.4license: MIT5---67# Frontend Design — Anti-Generic UI89Create interfaces that are **distinctive, memorable, and intentional**. Fight against the sea of identical AI-generated UIs.1011## Core Philosophy1213> Every pixel is a decision. Generic is the enemy of great.1415Most AI-generated UIs look the same: same rounded corners, same gradient buttons, same card layouts. This skill teaches you to break free.1617## The 5 Design Pillars1819### 1. Typography as Architecture20```21Typography is 80% of web design. Master it.2223- Choose 2 fonts maximum: 1 display + 1 body24- Create a modular scale: 12, 14, 16, 20, 24, 32, 40, 48, 64px25- Use weight contrast, not just size, for hierarchy26- Letter-spacing: tighter for headings, normal for body27- Line-height: 1.1-1.2 for headings, 1.5-1.7 for body28```2930**Font Pairing Examples:**31| Display | Body | Vibe |32|---------|------|------|33| Space Grotesk | Inter | Tech, modern |34| Playfair Display | Source Sans 3 | Editorial, elegant |35| Clash Display | Satoshi | Bold, contemporary |36| Fraunces | Work Sans | Warm, approachable |37| JetBrains Mono | IBM Plex Sans | Developer, precise |3839### 2. Color as Emotion40```41Avoid generic: blue hero, white body, gray footer.42Instead, build a palette that tells a story.43```4445**Palette Building Process:**461. Start with ONE signature color (not primary blue!)472. Build 5-shade scale: lightest → darkest483. Add 1 accent color (complementary or analogous)494. Define semantic colors: success, warning, error, info505. Create dark mode variants (don't just invert!)5152**Color Relationships:**53| Type | Method | Example |54|------|--------|---------|55| Monochromatic | Shades of one hue | Deep navy → light sky |56| Complementary | Opposite on wheel | Teal + coral |57| Analogous | Adjacent hues | Purple → blue → teal |58| Split Complementary | Main + 2 adjacents of complement | Yellow + blue-purple + red-purple |5960### 3. Motion as Communication61```62Animation should communicate, not decorate.6364Purposeful motion: Decorative motion:65✅ Show state change ❌ Spinning logos66✅ Guide attention ❌ Parallax everything67✅ Provide feedback ❌ Bouncing elements68✅ Establish spatial relationships ❌ Auto-playing carousels69```7071**Timing Guidelines:**72| Interaction | Duration |73|-------------|----------|74| Button feedback | 100-150ms |75| Menu open/close | 150-250ms |76| Page transition | 200-400ms |77| Complex animation | 300-500ms |78| Attention-grab | 600-1000ms |7980**Easing:**81- `ease-out` for entering elements (fast start, slow end)82- `ease-in` for exiting elements (slow start, fast end)83- `ease-in-out` for elements that stay on screen84- Never use `linear` (feels robotic)8586### 4. Spatial Composition87```88Whitespace is not empty space — it's breathing room.8990Rules:91- Related items: 8-16px gap92- Sections: 48-96px gap93- Page margins: 5-10% of viewport94- Asymmetry > symmetry for visual interest95- Grid systems: 4px or 8px base unit96```9798**Layout Principles:**99- **Rhythm:** Consistent vertical spacing creates visual flow100- **Hierarchy:** Size + weight + color + space = importance101- **Alignment:** Invisible lines connect related elements102- **Contrast:** Light vs dark, large vs small, dense vs sparse103104### 5. Detail Obsession105```106The difference between good and great is in the details:107- Border radius: consistent across the entire UI (pick one: 4px, 8px, 12px)108- Shadows: subtle, directional, with color tinting109- Borders: 1px with low-opacity dark color, not solid gray110- Icons: stroke width matches font weight111- Hover states: every interactive element has one112- Focus states: visible, accessible, styled (not default blue outline)113```114115## Reference Navigation116117- **[Design Tokens](references/design-tokens.md)** — Building a complete token system (spacing, color, type, motion)118- **[Layout Patterns](references/layout-patterns.md)** — Hero sections, dashboards, landing pages, editorial layouts119- **[Component Styling](references/component-styling.md)** — Buttons, cards, inputs, navigation with personality120- **[Design Inspiration](references/design-inspiration.md)** — Reference sites, award galleries, trend analysis121122## Anti-Generic Checklist123124Before shipping any interface, ask:125126- [ ] **Is the typography intentional?** (Not just default Inter at default sizes)127- [ ] **Are the colors unique?** (Not generic Bootstrap blue/green/red)128- [ ] **Does the layout have rhythm?** (Consistent spacing, clear hierarchy)129- [ ] **Are animations purposeful?** (Not decorative, they communicate something)130- [ ] **Would this look like "my brand"?** (Distinct from competitors)131- [ ] **Is there attention to micro-details?** (Shadows, borders, hover states)132- [ ] **Does it have an opinion?** (Not trying to be everything to everyone)133134## Related Skills135136| Skill | When to Use |137|-------|-------------|138| [ui-styling](../ui-styling/SKILL.md) | Tailwind CSS implementation, shadcn/ui |139| [ui-polish](../ui-polish/SKILL.md) | Visual refinement process, inspiration capture |140| [nextjs-turborepo](../nextjs-turborepo/SKILL.md) | Next.js layout and routing |