SaaS Design
This skill provides a curated knowledge base of 60+ UI component patterns sourced from component.gallery and enriched with best practices, layout guidance, and usage rules. It replaces generic guessing with real design-system knowledge when generating interfaces.
Before writing any UI code, select the right components and follow their best practices. Read components.md for the full reference.
When to Use This Skill
Apply whenever the user asks to build, design, or generate:
- Web pages, landing pages, marketing sites
- SaaS dashboards, admin panels, settings pages
- Forms, data tables, navigation structures
- Modals, drawers, popovers, or overlay patterns
- Any React, HTML/CSS, or Tailwind UI component
Note: This skill targets modern, minimal, SaaS-quality output. For expressive, artistic, or brand-forward designs (brutalist, editorial, luxury, etc.) use the frontend-design skill instead.
Design Philosophy
Every generated interface should feel modern, minimal, and production-ready — not like a template.
Core Principles
- Restraint over decoration. Fewer elements, highly refined. White space is a feature.
- Typography carries hierarchy. Pair a distinctive display font with a clean body font. Maximize weight contrast between headings and labels.
- One strong color moment. Neutral palette first (warm off-whites, near-blacks, muted mid-tones). Introduce one confident accent. If it could appear on a poster or book cover, it's probably timeless.
- Spacing is structure. Use an 8 px grid. Tighter gaps group related elements; generous gaps let hero content breathe.
- Accessibility is non-negotiable. WCAG AA contrast minimums. Focus indicators. Semantic HTML. Keyboard navigation.
- No generic AI aesthetics. Avoid: purple-on-white gradients, Inter/Roboto defaults, evenly-spaced card grids, and cookie-cutter layouts. Every interface should feel designed for its specific context.
Quality Bar
The output should match what you'd expect from a senior product designer at a top SaaS company:
- Clean visual rhythm with intentional asymmetry
- Obvious interactive affordances (hover, focus, active states)
- Graceful edge cases (empty states, loading, error)
- Responsive without breakpoint artifacts
Workflow
Step 1 — Identify Components
Read the user's request and determine which UI components are needed. Reference components.md to find each component by name or alias.
Common mappings:
- "navigation" → Header, Navigation, Breadcrumbs, Tabs
- "form" → Form, Text input, Select, Checkbox, Radio button, Button
- "data display" → Table, Card, List, Badge, Avatar
- "feedback" → Alert, Toast, Modal, Spinner, Progress bar, Empty state
- "input" → Text input, Textarea, Select, Combobox, Datepicker, File upload, Slider
- "overlay" → Modal, Drawer, Popover, Tooltip, Dropdown menu
Step 2 — Apply Best Practices
For each component in the interface, follow its best practices from the reference. Key rules that apply broadly:
Layout
- Single-column forms — faster to scan
- Consistent vertical lanes in repeated rows (lists, tables)
- Fixed-width slots for icons and actions, even when empty
- Cards: media → title → meta → action hierarchy
Interaction
- Buttons: verb-first labels ("Save changes", not "Submit"), one primary per section
- Modals: always provide X, Cancel, and Escape; trap focus; return focus on close
- Toasts: auto-dismiss 4–6 s, allow manual dismiss, stack newest on top
- Toggles: immediate effect only — use checkboxes in forms that require Save
Typography & Spacing
- Strict heading hierarchy (h1 → h2 → h3), one h1 per page
- Minimum 44 px touch targets on mobile
- Labels above inputs (vertical forms) or beside (horizontal)
- Placeholder text as format hint, never as label replacement
States
- Empty states: illustration + helpful headline + primary CTA
- Loading: skeleton screens > spinners (show after 300 ms delay)
- Validation: inline on blur, not on every keystroke
- Disabled elements: visually distinct but still readable
Step 3 — Choose a Design Direction
Select the style preset that best matches the user's intent, or ask if unclear:
Modern SaaS (default)
- Neutral palette, one strong accent
- 8 px grid, generous white space
- Clean, professional, spacious
Apple-level Minimal
- Near-monochrome, warm grays
- Large type hierarchy, tight tracking on display text
- Abundant white space, micro-interactions (150–250 ms ease-out)
Enterprise / Corporate
- Information-dense, well-defined regions
- Compact spacing scale (4/8/12/16/24 px)
- Robust form handling, fully keyboard-navigable
Data Dashboard
- Data-dense, optimised for scannability
- Consistent vertical alignment across rows
- Clear metric hierarchy: KPI → trend → detail
Step 4 — Generate Code
Write production-ready code following these rules:
Stack: React + Tailwind CSS (unless user specifies otherwise)
Spacing: Tailwind spacing scale (p-2, gap-4, etc.) on an 8px grid
Colors: CSS variables or Tailwind config for palette consistency
Typography: Tailwind text utilities; expressive font pairings via Google Fonts
States: Implement hover, focus, active, disabled for all interactive elements
Responsive: Mobile-first; test at 375, 768, 1440 px
Accessibility: Semantic HTML, ARIA where needed, focus management
Anti-Patterns to Avoid
Never generate these — they signal generic, low-quality UI:
- Rainbow badges — every status a different bright color with no semantic meaning
- Modal inside modal — use a page or drawer for complex flows
- Disabled submit with no explanation — always indicate what's missing
- Spinner for predictable layouts — use skeleton screens instead
- "Click here" links — link text must describe the destination
- Hamburger menu on desktop — use visible navigation when space allows
- Auto-advancing carousels — let users control navigation
- Placeholder-only form fields — always use visible labels
- Equal-weight buttons — establish primary/secondary/tertiary hierarchy
- Tiny text (< 12 px) — body text minimum 14 px, prefer 16 px
1---2name: saas-design3description: Generate modern, production-grade SaaS interfaces grounded in real component patterns and design system conventions. Use when the user asks to build dashboards, admin panels, settings pages, data tables, forms, or any SaaS-quality web interface. Produces clean, minimal, professional output — not expressive/artistic UI.4license: Complete terms in LICENSE.txt5---67# SaaS Design89This skill provides a curated knowledge base of 60+ UI component patterns sourced from [component.gallery](https://component.gallery) and enriched with best practices, layout guidance, and usage rules. It replaces generic guessing with real design-system knowledge when generating interfaces.1011**Before writing any UI code**, select the right components and follow their best practices. Read [components.md](components.md) for the full reference.1213## When to Use This Skill1415Apply whenever the user asks to build, design, or generate:16- Web pages, landing pages, marketing sites17- SaaS dashboards, admin panels, settings pages18- Forms, data tables, navigation structures19- Modals, drawers, popovers, or overlay patterns20- Any React, HTML/CSS, or Tailwind UI component2122> **Note:** This skill targets modern, minimal, SaaS-quality output. For expressive, artistic, or brand-forward designs (brutalist, editorial, luxury, etc.) use the `frontend-design` skill instead.2324## Design Philosophy2526Every generated interface should feel **modern, minimal, and production-ready** — not like a template.2728### Core Principles29301. **Restraint over decoration.** Fewer elements, highly refined. White space is a feature.312. **Typography carries hierarchy.** Pair a distinctive display font with a clean body font. Maximize weight contrast between headings and labels.323. **One strong color moment.** Neutral palette first (warm off-whites, near-blacks, muted mid-tones). Introduce one confident accent. If it could appear on a poster or book cover, it's probably timeless.334. **Spacing is structure.** Use an 8 px grid. Tighter gaps group related elements; generous gaps let hero content breathe.345. **Accessibility is non-negotiable.** WCAG AA contrast minimums. Focus indicators. Semantic HTML. Keyboard navigation.356. **No generic AI aesthetics.** Avoid: purple-on-white gradients, Inter/Roboto defaults, evenly-spaced card grids, and cookie-cutter layouts. Every interface should feel designed for its specific context.3637### Quality Bar3839The output should match what you'd expect from a senior product designer at a top SaaS company:40- Clean visual rhythm with intentional asymmetry41- Obvious interactive affordances (hover, focus, active states)42- Graceful edge cases (empty states, loading, error)43- Responsive without breakpoint artifacts4445## Workflow4647### Step 1 — Identify Components4849Read the user's request and determine which UI components are needed. Reference [components.md](components.md) to find each component by name or alias.5051Common mappings:52- "navigation" → Header, Navigation, Breadcrumbs, Tabs53- "form" → Form, Text input, Select, Checkbox, Radio button, Button54- "data display" → Table, Card, List, Badge, Avatar55- "feedback" → Alert, Toast, Modal, Spinner, Progress bar, Empty state56- "input" → Text input, Textarea, Select, Combobox, Datepicker, File upload, Slider57- "overlay" → Modal, Drawer, Popover, Tooltip, Dropdown menu5859### Step 2 — Apply Best Practices6061For each component in the interface, follow its best practices from the reference. Key rules that apply broadly:6263**Layout**64- Single-column forms — faster to scan65- Consistent vertical lanes in repeated rows (lists, tables)66- Fixed-width slots for icons and actions, even when empty67- Cards: media → title → meta → action hierarchy6869**Interaction**70- Buttons: verb-first labels ("Save changes", not "Submit"), one primary per section71- Modals: always provide X, Cancel, and Escape; trap focus; return focus on close72- Toasts: auto-dismiss 4–6 s, allow manual dismiss, stack newest on top73- Toggles: immediate effect only — use checkboxes in forms that require Save7475**Typography & Spacing**76- Strict heading hierarchy (h1 → h2 → h3), one h1 per page77- Minimum 44 px touch targets on mobile78- Labels above inputs (vertical forms) or beside (horizontal)79- Placeholder text as format hint, never as label replacement8081**States**82- Empty states: illustration + helpful headline + primary CTA83- Loading: skeleton screens > spinners (show after 300 ms delay)84- Validation: inline on blur, not on every keystroke85- Disabled elements: visually distinct but still readable8687### Step 3 — Choose a Design Direction8889Select the style preset that best matches the user's intent, or ask if unclear:9091**Modern SaaS** (default)92- Neutral palette, one strong accent93- 8 px grid, generous white space94- Clean, professional, spacious9596**Apple-level Minimal**97- Near-monochrome, warm grays98- Large type hierarchy, tight tracking on display text99- Abundant white space, micro-interactions (150–250 ms ease-out)100101**Enterprise / Corporate**102- Information-dense, well-defined regions103- Compact spacing scale (4/8/12/16/24 px)104- Robust form handling, fully keyboard-navigable105106**Data Dashboard**107- Data-dense, optimised for scannability108- Consistent vertical alignment across rows109- Clear metric hierarchy: KPI → trend → detail110111### Step 4 — Generate Code112113Write production-ready code following these rules:114115```116Stack: React + Tailwind CSS (unless user specifies otherwise)117Spacing: Tailwind spacing scale (p-2, gap-4, etc.) on an 8px grid118Colors: CSS variables or Tailwind config for palette consistency119Typography: Tailwind text utilities; expressive font pairings via Google Fonts120States: Implement hover, focus, active, disabled for all interactive elements121Responsive: Mobile-first; test at 375, 768, 1440 px122Accessibility: Semantic HTML, ARIA where needed, focus management123```124125## Anti-Patterns to Avoid126127Never generate these — they signal generic, low-quality UI:128129- **Rainbow badges** — every status a different bright color with no semantic meaning130- **Modal inside modal** — use a page or drawer for complex flows131- **Disabled submit with no explanation** — always indicate what's missing132- **Spinner for predictable layouts** — use skeleton screens instead133- **"Click here" links** — link text must describe the destination134- **Hamburger menu on desktop** — use visible navigation when space allows135- **Auto-advancing carousels** — let users control navigation136- **Placeholder-only form fields** — always use visible labels137- **Equal-weight buttons** — establish primary/secondary/tertiary hierarchy138- **Tiny text (< 12 px)** — body text minimum 14 px, prefer 16 px