UI/UX Pro Max - 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 9 technology stacks. Searchable database with priority-based recommendations.
When to Apply
Reference these guidelines when:
- Designing new UI components or pages
- Choosing color palettes and typography
- Reviewing code for UX issues
- Building landing pages or dashboards
- Implementing accessibility requirements
Rule Categories by Priority
| Priority |
Category |
Impact |
Domain |
| 1 |
Accessibility |
CRITICAL |
ux |
| 2 |
Touch & Interaction |
CRITICAL |
ux |
| 3 |
Performance |
HIGH |
ux |
| 4 |
Layout & Responsive |
HIGH |
ux |
| 5 |
Typography & Color |
MEDIUM |
typography, color |
| 6 |
Animation |
MEDIUM |
ux |
| 7 |
Style Selection |
MEDIUM |
style, product |
| 8 |
Charts & Data |
LOW |
chart |
Quick Reference
1. Accessibility (CRITICAL)
color-contrast - Minimum 4.5:1 ratio for normal text
focus-states - Visible focus rings on interactive elements
alt-text - Descriptive alt text for meaningful images
aria-labels - aria-label for icon-only buttons
keyboard-nav - Tab order matches visual order
form-labels - Use label with for attribute
2. Touch & Interaction (CRITICAL)
touch-target-size - Minimum 44x44px touch targets
hover-vs-tap - Use click/tap for primary interactions
loading-buttons - Disable button during async operations
error-feedback - Clear error messages near problem
cursor-pointer - Add cursor-pointer to clickable elements
3. Performance (HIGH)
image-optimization - Use WebP, srcset, lazy loading
reduced-motion - Check prefers-reduced-motion
content-jumping - Reserve space for async content
4. Layout & Responsive (HIGH)
viewport-meta - width=device-width initial-scale=1
readable-font-size - Minimum 16px body text on mobile
horizontal-scroll - Ensure content fits viewport width
z-index-management - Define z-index scale (10, 20, 30, 50)
5. Typography & Color (MEDIUM)
line-height - Use 1.5-1.75 for body text
line-length - Limit to 65-75 characters per line
font-pairing - Match heading/body font personalities
6. Animation (MEDIUM)
duration-timing - Use 150-300ms for micro-interactions
transform-performance - Use transform/opacity, not width/height
loading-states - Skeleton screens or spinners
7. Style Selection (MEDIUM)
style-match - Match style to product type
consistency - Use same style across all pages
no-emoji-icons - Use SVG icons, not emojis
8. Charts & Data (LOW)
chart-type - Match chart type to data type
color-guidance - Use accessible color palettes
data-table - Provide table alternative for accessibility
How to Use
Search specific domains using the CLI tool below.
Prerequisites
Check if Python is installed:
python3 --version || python --version
If Python is not installed, install it based on user's OS:
macOS:
brew install python3
Ubuntu/Debian:
sudo apt update && sudo apt install python3
Windows:
winget install Python.Python.3.12
How to Use This Skill
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
Step 1: Analyze User Requirements
Extract key information from user request:
- Product type: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
- Style keywords: minimal, playful, professional, elegant, dark mode, etc.
- Industry: healthcare, fintech, gaming, education, etc.
- Stack: React, Vue, Next.js, or default to
html-tailwind
Step 2: Search Relevant Domains
Use search.py multiple times to gather comprehensive information. Search until you have enough context.
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
Recommended search order:
- Product - Get style recommendations for product type
- Style - Get detailed style guide (colors, effects, frameworks)
- Typography - Get font pairings with Google Fonts imports
- Color - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
- Landing - Get page structure (if landing page)
- Chart - Get chart recommendations (if dashboard/analytics)
- UX - Get best practices and anti-patterns
- Stack - Get stack-specific guidelines (default: html-tailwind)
Step 3: Stack Guidelines (Default: html-tailwind)
If user doesn't specify a stack, default to html-tailwind.
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
Available stacks: html-tailwind, react, nextjs, vue, svelte, swiftui, react-native, flutter, shadcn
Search Reference
Available Domains
| Domain |
Use For |
Example Keywords |
product |
Product type recommendations |
SaaS, e-commerce, portfolio, healthcare, beauty, service |
style |
UI styles, colors, effects |
glassmorphism, minimalism, dark mode, brutalism |
typography |
Font pairings, Google Fonts |
elegant, playful, professional, modern |
color |
Color palettes by product type |
saas, ecommerce, healthcare, beauty, fintech, service |
landing |
Page structure, CTA strategies |
hero, hero-centric, testimonial, pricing, social-proof |
chart |
Chart types, library recommendations |
trend, comparison, timeline, funnel, pie |
ux |
Best practices, anti-patterns |
animation, accessibility, z-index, loading |
react |
React/Next.js performance |
waterfall, bundle, suspense, memo, rerender, cache |
web |
Web interface guidelines |
aria, focus, keyboard, semantic, virtualize |
prompt |
AI prompts, CSS keywords |
(style name) |
Available Stacks
| Stack |
Focus |
html-tailwind |
Tailwind utilities, responsive, a11y (DEFAULT) |
react |
State, hooks, performance, patterns |
nextjs |
SSR, routing, images, API routes |
vue |
Composition API, Pinia, Vue Router |
svelte |
Runes, stores, SvelteKit |
swiftui |
Views, State, Navigation, Animation |
react-native |
Components, Navigation, Lists |
flutter |
Widgets, State, Layout, Theming |
shadcn |
shadcn/ui components, theming, forms, patterns |
Example Workflow
User request: "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
AI should:
# 1. Search product type
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
# 2. Search style (based on industry: beauty, elegant)
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
# 3. Search typography
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
# 4. Search color palette
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
# 5. Search landing page structure
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
# 6. Search UX guidelines
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation" --domain ux
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
# 7. Search stack guidelines (default: html-tailwind)
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
Then: Synthesize all search results and implement the design.
Tips for Better Results
- Be specific with keywords - "healthcare SaaS dashboard" > "app"
- Search multiple times - Different keywords reveal different insights
- Combine domains - Style + Typography + Color = Complete design system
- Always check UX - Search "animation", "z-index", "accessibility" for common issues
- Use stack flag - Get implementation-specific best practices
- Iterate - If first search doesn't match, try different keywords
Common Rules for Professional UI
These are frequently overlooked issues that make UI look unprofessional:
Icons & Visual Elements
| Rule |
Do |
Don't |
| No emoji icons |
Use SVG icons (Heroicons, Lucide, Simple Icons) |
Use emojis like 🎨 🚀 ⚙️ as UI icons |
| Stable hover states |
Use color/opacity transitions on hover |
Use scale transforms that shift layout |
| Correct brand logos |
Research official SVG from Simple Icons |
Guess or use incorrect logo paths |
| Consistent icon sizing |
Use fixed viewBox (24x24) with w-6 h-6 |
Mix different icon sizes randomly |
Interaction & Cursor
| Rule |
Do |
Don't |
| Cursor pointer |
Add cursor-pointer to all clickable/hoverable cards |
Leave default cursor on interactive elements |
| Hover feedback |
Provide visual feedback (color, shadow, border) |
No indication element is interactive |
| Smooth transitions |
Use transition-colors duration-200 |
Instant state changes or too slow (>500ms) |
Light/Dark Mode Contrast
| Rule |
Do |
Don't |
| Glass card light mode |
Use bg-white/80 or higher opacity |
Use bg-white/10 (too transparent) |
| Text contrast light |
Use #0F172A (slate-900) for text |
Use #94A3B8 (slate-400) for body text |
| Muted text light |
Use #475569 (slate-600) minimum |
Use gray-400 or lighter |
| Border visibility |
Use border-gray-200 in light mode |
Use border-white/10 (invisible) |
Layout & Spacing
| Rule |
Do |
Don't |
| Floating navbar |
Add top-4 left-4 right-4 spacing |
Stick navbar to top-0 left-0 right-0 |
| Content padding |
Account for fixed navbar height |
Let content hide behind fixed elements |
| Consistent max-width |
Use same max-w-6xl or max-w-7xl |
Mix different container widths |
Pre-Delivery Checklist
Before delivering UI code, verify these items:
Visual Quality
Interaction
Light/Dark Mode
Layout
Accessibility
1---2name: ui-ux-pro-max-623description: UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.4---56# UI/UX Pro Max - 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 9 technology stacks. Searchable database with priority-based recommendations.910## When to Apply1112Reference these guidelines when:13- Designing new UI components or pages14- Choosing color palettes and typography15- Reviewing code for UX issues16- Building landing pages or dashboards17- Implementing accessibility requirements1819## Rule Categories by Priority2021| Priority | Category | Impact | Domain |22|----------|----------|--------|--------|23| 1 | Accessibility | CRITICAL | `ux` |24| 2 | Touch & Interaction | CRITICAL | `ux` |25| 3 | Performance | HIGH | `ux` |26| 4 | Layout & Responsive | HIGH | `ux` |27| 5 | Typography & Color | MEDIUM | `typography`, `color` |28| 6 | Animation | MEDIUM | `ux` |29| 7 | Style Selection | MEDIUM | `style`, `product` |30| 8 | Charts & Data | LOW | `chart` |3132## Quick Reference3334### 1. Accessibility (CRITICAL)3536- `color-contrast` - Minimum 4.5:1 ratio for normal text37- `focus-states` - Visible focus rings on interactive elements38- `alt-text` - Descriptive alt text for meaningful images39- `aria-labels` - aria-label for icon-only buttons40- `keyboard-nav` - Tab order matches visual order41- `form-labels` - Use label with for attribute4243### 2. Touch & Interaction (CRITICAL)4445- `touch-target-size` - Minimum 44x44px touch targets46- `hover-vs-tap` - Use click/tap for primary interactions47- `loading-buttons` - Disable button during async operations48- `error-feedback` - Clear error messages near problem49- `cursor-pointer` - Add cursor-pointer to clickable elements5051### 3. Performance (HIGH)5253- `image-optimization` - Use WebP, srcset, lazy loading54- `reduced-motion` - Check prefers-reduced-motion55- `content-jumping` - Reserve space for async content5657### 4. Layout & Responsive (HIGH)5859- `viewport-meta` - width=device-width initial-scale=160- `readable-font-size` - Minimum 16px body text on mobile61- `horizontal-scroll` - Ensure content fits viewport width62- `z-index-management` - Define z-index scale (10, 20, 30, 50)6364### 5. Typography & Color (MEDIUM)6566- `line-height` - Use 1.5-1.75 for body text67- `line-length` - Limit to 65-75 characters per line68- `font-pairing` - Match heading/body font personalities6970### 6. Animation (MEDIUM)7172- `duration-timing` - Use 150-300ms for micro-interactions73- `transform-performance` - Use transform/opacity, not width/height74- `loading-states` - Skeleton screens or spinners7576### 7. Style Selection (MEDIUM)7778- `style-match` - Match style to product type79- `consistency` - Use same style across all pages80- `no-emoji-icons` - Use SVG icons, not emojis8182### 8. Charts & Data (LOW)8384- `chart-type` - Match chart type to data type85- `color-guidance` - Use accessible color palettes86- `data-table` - Provide table alternative for accessibility8788## How to Use8990Search specific domains using the CLI tool below.9192---9394## Prerequisites9596Check if Python is installed:9798```bash99python3 --version || python --version100```101102If Python is not installed, install it based on user's OS:103104**macOS:**105```bash106brew install python3107```108109**Ubuntu/Debian:**110```bash111sudo apt update && sudo apt install python3112```113114**Windows:**115```powershell116winget install Python.Python.3.12117```118119---120121## How to Use This Skill122123When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:124125### Step 1: Analyze User Requirements126127Extract key information from user request:128- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.129- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.130- **Industry**: healthcare, fintech, gaming, education, etc.131- **Stack**: React, Vue, Next.js, or default to `html-tailwind`132133### Step 2: Search Relevant Domains134135Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.136137```bash138python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]139```140141**Recommended search order:**1421431. **Product** - Get style recommendations for product type1442. **Style** - Get detailed style guide (colors, effects, frameworks)1453. **Typography** - Get font pairings with Google Fonts imports1464. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)1475. **Landing** - Get page structure (if landing page)1486. **Chart** - Get chart recommendations (if dashboard/analytics)1497. **UX** - Get best practices and anti-patterns1508. **Stack** - Get stack-specific guidelines (default: html-tailwind)151152### Step 3: Stack Guidelines (Default: html-tailwind)153154If user doesn't specify a stack, **default to `html-tailwind`**.155156```bash157python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind158```159160Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`161162---163164## Search Reference165166### Available Domains167168| Domain | Use For | Example Keywords |169|--------|---------|------------------|170| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |171| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |172| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |173| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |174| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |175| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |176| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |177| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |178| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |179| `prompt` | AI prompts, CSS keywords | (style name) |180181### Available Stacks182183| Stack | Focus |184|-------|-------|185| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |186| `react` | State, hooks, performance, patterns |187| `nextjs` | SSR, routing, images, API routes |188| `vue` | Composition API, Pinia, Vue Router |189| `svelte` | Runes, stores, SvelteKit |190| `swiftui` | Views, State, Navigation, Animation |191| `react-native` | Components, Navigation, Lists |192| `flutter` | Widgets, State, Layout, Theming |193| `shadcn` | shadcn/ui components, theming, forms, patterns |194195---196197## Example Workflow198199**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"200201**AI should:**202203```bash204# 1. Search product type205python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product206207# 2. Search style (based on industry: beauty, elegant)208python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style209210# 3. Search typography211python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography212213# 4. Search color palette214python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color215216# 5. Search landing page structure217python3 .claude/skills/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing218219# 6. Search UX guidelines220python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation" --domain ux221python3 .claude/skills/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux222223# 7. Search stack guidelines (default: html-tailwind)224python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind225```226227**Then:** Synthesize all search results and implement the design.228229---230231## Tips for Better Results2322331. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"2342. **Search multiple times** - Different keywords reveal different insights2353. **Combine domains** - Style + Typography + Color = Complete design system2364. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues2375. **Use stack flag** - Get implementation-specific best practices2386. **Iterate** - If first search doesn't match, try different keywords239240---241242## Common Rules for Professional UI243244These are frequently overlooked issues that make UI look unprofessional:245246### Icons & Visual Elements247248| Rule | Do | Don't |249|------|----|----- |250| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |251| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |252| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |253| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |254255### Interaction & Cursor256257| Rule | Do | Don't |258|------|----|----- |259| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |260| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |261| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |262263### Light/Dark Mode Contrast264265| Rule | Do | Don't |266|------|----|----- |267| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |268| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |269| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |270| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |271272### Layout & Spacing273274| Rule | Do | Don't |275|------|----|----- |276| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |277| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |278| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |279280---281282## Pre-Delivery Checklist283284Before delivering UI code, verify these items:285286### Visual Quality287- [ ] No emojis used as icons (use SVG instead)288- [ ] All icons from consistent icon set (Heroicons/Lucide)289- [ ] Brand logos are correct (verified from Simple Icons)290- [ ] Hover states don't cause layout shift291- [ ] Use theme colors directly (bg-primary) not var() wrapper292293### Interaction294- [ ] All clickable elements have `cursor-pointer`295- [ ] Hover states provide clear visual feedback296- [ ] Transitions are smooth (150-300ms)297- [ ] Focus states visible for keyboard navigation298299### Light/Dark Mode300- [ ] Light mode text has sufficient contrast (4.5:1 minimum)301- [ ] Glass/transparent elements visible in light mode302- [ ] Borders visible in both modes303- [ ] Test both modes before delivery304305### Layout306- [ ] Floating elements have proper spacing from edges307- [ ] No content hidden behind fixed navbars308- [ ] Responsive at 320px, 768px, 1024px, 1440px309- [ ] No horizontal scroll on mobile310311### Accessibility312- [ ] All images have alt text313- [ ] Form inputs have labels314- [ ] Color is not the only indicator315- [ ] `prefers-reduced-motion` respected