ui-ux-pro-max
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.
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 Workflow
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: Generate Design System (REQUIRED)
Always start with --design-system to get comprehensive recommendations with reasoning:
python3 .shared/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
This command:
- Searches 5 domains in parallel (product, style, color, landing, typography)
- Applies reasoning rules from
ui-reasoning.csv to select best matches
- Returns complete design system: pattern, style, colors, typography, effects
- Includes anti-patterns to avoid
Example:
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
Step 2b: Persist Design System (Master + Overrides Pattern)
To save the design system for hierarchical retrieval across sessions, add --persist:
python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
This creates:
design-system/MASTER.md — Global Source of Truth with all design rules
design-system/pages/ — Folder for page-specific overrides
With page-specific override:
python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
This also creates:
design-system/pages/dashboard.md — Page-specific deviations from Master
How hierarchical retrieval works:
- When building a specific page (e.g., "Checkout"), first check
design-system/pages/checkout.md
- If the page file exists, its rules override the Master file
- If not, use
design-system/MASTER.md exclusively
Step 3: Supplement with Detailed Searches (as needed)
After getting the design system, use domain searches to get additional details:
python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
When to use detailed searches:
| Need |
Domain |
Example |
| More style options |
style |
--domain style "glassmorphism dark" |
| Chart recommendations |
chart |
--domain chart "real-time dashboard" |
| UX best practices |
ux |
--domain ux "animation accessibility" |
| Alternative fonts |
typography |
--domain typography "elegant luxury" |
| Landing structure |
landing |
--domain landing "hero social-proof" |
Step 4: Stack Guidelines (Default: html-tailwind)
Get implementation-specific best practices. If user doesn't specify a stack, default to html-tailwind.
python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
Available stacks: html-tailwind, react, nextjs, vue, svelte, swiftui, react-native, flutter, shadcn, jetpack-compose
, jetpack-compose
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 |
jetpack-compose |
Composables, Modifiers, State Hoisting, Recomposition |
Example Workflow
User request: "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
Step 1: Analyze Requirements
- Product type: Beauty/Spa service
- Style keywords: elegant, professional, soft
- Industry: Beauty/Wellness
- Stack: html-tailwind (default)
Step 2: Generate Design System (REQUIRED)
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
Output: Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
Step 3: Supplement with Detailed Searches (as needed)
# Get UX guidelines for animation and accessibility
python3 .shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
# Get alternative typography options if needed
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
Step 4: Stack Guidelines
python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
Then: Synthesize design system + detailed searches and implement the design.
Output Formats
The --design-system flag supports two output formats:
# ASCII box (default) - best for terminal display
python3 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
# Markdown - best for documentation
python3 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
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: 1374-ui-ux-pro-max-e39ca4353description: ui-ux-pro-max4---5# ui-ux-pro-max67Comprehensive 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.89## Prerequisites1011Check if Python is installed:1213```bash14python3 --version || python --version15```1617If Python is not installed, install it based on user's OS:1819**macOS:**20```bash21brew install python322```2324**Ubuntu/Debian:**25```bash26sudo apt update && sudo apt install python327```2829**Windows:**30```powershell31winget install Python.Python.3.1232```3334---3536## How to Use This Workflow3738When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:3940### Step 1: Analyze User Requirements4142Extract key information from user request:43- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.44- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.45- **Industry**: healthcare, fintech, gaming, education, etc.46- **Stack**: React, Vue, Next.js, or default to `html-tailwind`4748### Step 2: Generate Design System (REQUIRED)4950**Always start with `--design-system`** to get comprehensive recommendations with reasoning:5152```bash53python3 .shared/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]54```5556This command:571. Searches 5 domains in parallel (product, style, color, landing, typography)582. Applies reasoning rules from `ui-reasoning.csv` to select best matches593. Returns complete design system: pattern, style, colors, typography, effects604. Includes anti-patterns to avoid6162**Example:**63```bash64python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"65```6667### Step 2b: Persist Design System (Master + Overrides Pattern)6869To save the design system for hierarchical retrieval across sessions, add `--persist`:7071```bash72python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"73```7475This creates:76- `design-system/MASTER.md` — Global Source of Truth with all design rules77- `design-system/pages/` — Folder for page-specific overrides7879**With page-specific override:**80```bash81python3 .shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"82```8384This also creates:85- `design-system/pages/dashboard.md` — Page-specific deviations from Master8687**How hierarchical retrieval works:**881. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`892. If the page file exists, its rules **override** the Master file903. If not, use `design-system/MASTER.md` exclusively9192### Step 3: Supplement with Detailed Searches (as needed)9394After getting the design system, use domain searches to get additional details:9596```bash97python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]98```99100**When to use detailed searches:**101102| Need | Domain | Example |103|------|--------|---------|104| More style options | `style` | `--domain style "glassmorphism dark"` |105| Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |106| UX best practices | `ux` | `--domain ux "animation accessibility"` |107| Alternative fonts | `typography` | `--domain typography "elegant luxury"` |108| Landing structure | `landing` | `--domain landing "hero social-proof"` |109110### Step 4: Stack Guidelines (Default: html-tailwind)111112Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.113114```bash115python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind116```117118Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`119, `jetpack-compose`120---121122## Search Reference123124### Available Domains125126| Domain | Use For | Example Keywords |127|--------|---------|------------------|128| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |129| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |130| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |131| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |132| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |133| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |134| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |135| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |136| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |137| `prompt` | AI prompts, CSS keywords | (style name) |138139### Available Stacks140141| Stack | Focus |142|-------|-------|143| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |144| `react` | State, hooks, performance, patterns |145| `nextjs` | SSR, routing, images, API routes |146| `vue` | Composition API, Pinia, Vue Router |147| `svelte` | Runes, stores, SvelteKit |148| `swiftui` | Views, State, Navigation, Animation |149| `react-native` | Components, Navigation, Lists |150| `flutter` | Widgets, State, Layout, Theming |151| `shadcn` | shadcn/ui components, theming, forms, patterns |152| `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |153154---155156## Example Workflow157158**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"159160### Step 1: Analyze Requirements161- Product type: Beauty/Spa service162- Style keywords: elegant, professional, soft163- Industry: Beauty/Wellness164- Stack: html-tailwind (default)165166### Step 2: Generate Design System (REQUIRED)167168```bash169python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"170```171172**Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.173174### Step 3: Supplement with Detailed Searches (as needed)175176```bash177# Get UX guidelines for animation and accessibility178python3 .shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux179180# Get alternative typography options if needed181python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography182```183184### Step 4: Stack Guidelines185186```bash187python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind188```189190**Then:** Synthesize design system + detailed searches and implement the design.191192---193194## Output Formats195196The `--design-system` flag supports two output formats:197198```bash199# ASCII box (default) - best for terminal display200python3 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system201202# Markdown - best for documentation203python3 .shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown204```205206---207208## Tips for Better Results2092101. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"2112. **Search multiple times** - Different keywords reveal different insights2123. **Combine domains** - Style + Typography + Color = Complete design system2134. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues2145. **Use stack flag** - Get implementation-specific best practices2156. **Iterate** - If first search doesn't match, try different keywords216217---218219## Common Rules for Professional UI220221These are frequently overlooked issues that make UI look unprofessional:222223### Icons & Visual Elements224225| Rule | Do | Don't |226|------|----|----- |227| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |228| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |229| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |230| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |231232### Interaction & Cursor233234| Rule | Do | Don't |235|------|----|----- |236| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |237| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |238| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |239240### Light/Dark Mode Contrast241242| Rule | Do | Don't |243|------|----|----- |244| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |245| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |246| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |247| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |248249### Layout & Spacing250251| Rule | Do | Don't |252|------|----|----- |253| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |254| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |255| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |256257---258259## Pre-Delivery Checklist260261Before delivering UI code, verify these items:262263### Visual Quality264- [ ] No emojis used as icons (use SVG instead)265- [ ] All icons from consistent icon set (Heroicons/Lucide)266- [ ] Brand logos are correct (verified from Simple Icons)267- [ ] Hover states don't cause layout shift268- [ ] Use theme colors directly (bg-primary) not var() wrapper269270### Interaction271- [ ] All clickable elements have `cursor-pointer`272- [ ] Hover states provide clear visual feedback273- [ ] Transitions are smooth (150-300ms)274- [ ] Focus states visible for keyboard navigation275276### Light/Dark Mode277- [ ] Light mode text has sufficient contrast (4.5:1 minimum)278- [ ] Glass/transparent elements visible in light mode279- [ ] Borders visible in both modes280- [ ] Test both modes before delivery281282### Layout283- [ ] Floating elements have proper spacing from edges284- [ ] No content hidden behind fixed navbars285- [ ] Responsive at 375px, 768px, 1024px, 1440px286- [ ] No horizontal scroll on mobile287288### Accessibility289- [ ] All images have alt text290- [ ] Form inputs have labels291- [ ] Color is not the only indicator292- [ ] `prefers-reduced-motion` respected