ui-ux-pro-max
Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
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: Search Relevant Domains
Use search.py multiple times to gather comprehensive information. Search until you have enough context.
python3 .shared/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 .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
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 |
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 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
# 2. Search style (based on industry: beauty, elegant)
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
# 3. Search typography
python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
# 4. Search color palette
python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
# 5. Search landing page structure
python3 .shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
# 6. Search UX guidelines
python3 .shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux
python3 .shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
# 7. Search stack guidelines (default: html-tailwind)
python3 .shared/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
- Split Into Multiple Files - For better maintainability:
- Separate components into individual files (e.g.,
Header.tsx, Footer.tsx)
- Extract reusable styles into dedicated files
- Keep each file focused and under 200-300 lines
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: how-to-use-this-workflow-23description: Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.4---5# ui-ux-pro-max67Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.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: Search Relevant Domains4950Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.5152```bash53python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]54```5556**Recommended search order:**57581. **Product** - Get style recommendations for product type592. **Style** - Get detailed style guide (colors, effects, frameworks)603. **Typography** - Get font pairings with Google Fonts imports614. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)625. **Landing** - Get page structure (if landing page)636. **Chart** - Get chart recommendations (if dashboard/analytics)647. **UX** - Get best practices and anti-patterns658. **Stack** - Get stack-specific guidelines (default: html-tailwind)6667### Step 3: Stack Guidelines (Default: html-tailwind)6869If user doesn't specify a stack, **default to `html-tailwind`**.7071```bash72python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind73```7475Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`7677---7879## Search Reference8081### Available Domains8283| Domain | Use For | Example Keywords |84|--------|---------|------------------|85| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |86| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |87| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |88| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |89| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |90| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |91| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |92| `prompt` | AI prompts, CSS keywords | (style name) |9394### Available Stacks9596| Stack | Focus |97|-------|-------|98| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |99| `react` | State, hooks, performance, patterns |100| `nextjs` | SSR, routing, images, API routes |101| `vue` | Composition API, Pinia, Vue Router |102| `svelte` | Runes, stores, SvelteKit |103| `swiftui` | Views, State, Navigation, Animation |104| `react-native` | Components, Navigation, Lists |105| `flutter` | Widgets, State, Layout, Theming |106| `shadcn` | shadcn/ui components, theming, forms, patterns |107108---109110## Example Workflow111112**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"113114**AI should:**115116```bash117# 1. Search product type118python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product119120# 2. Search style (based on industry: beauty, elegant)121python3 .shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style122123# 3. Search typography124python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography125126# 4. Search color palette127python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color128129# 5. Search landing page structure130python3 .shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing131132# 6. Search UX guidelines133python3 .shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux134python3 .shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux135136# 7. Search stack guidelines (default: html-tailwind)137python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind138```139140**Then:** Synthesize all search results and implement the design.141142---143144## Tips for Better Results1451461. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"1472. **Search multiple times** - Different keywords reveal different insights1483. **Combine domains** - Style + Typography + Color = Complete design system1494. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues1505. **Use stack flag** - Get implementation-specific best practices1516. **Iterate** - If first search doesn't match, try different keywords1527. **Split Into Multiple Files** - For better maintainability:153 - Separate components into individual files (e.g., `Header.tsx`, `Footer.tsx`)154 - Extract reusable styles into dedicated files155 - Keep each file focused and under 200-300 lines156157---158159## Common Rules for Professional UI160161These are frequently overlooked issues that make UI look unprofessional:162163### Icons & Visual Elements164165| Rule | Do | Don't |166|------|----|----- |167| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |168| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |169| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |170| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |171172### Interaction & Cursor173174| Rule | Do | Don't |175|------|----|----- |176| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |177| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |178| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |179180### Light/Dark Mode Contrast181182| Rule | Do | Don't |183|------|----|----- |184| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |185| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |186| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |187| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |188189### Layout & Spacing190191| Rule | Do | Don't |192|------|----|----- |193| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |194| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |195| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |196197---198199## Pre-Delivery Checklist200201Before delivering UI code, verify these items:202203### Visual Quality204- [ ] No emojis used as icons (use SVG instead)205- [ ] All icons from consistent icon set (Heroicons/Lucide)206- [ ] Brand logos are correct (verified from Simple Icons)207- [ ] Hover states don't cause layout shift208209### Interaction210- [ ] All clickable elements have `cursor-pointer`211- [ ] Hover states provide clear visual feedback212- [ ] Transitions are smooth (150-300ms)213- [ ] Focus states visible for keyboard navigation214215### Light/Dark Mode216- [ ] Light mode text has sufficient contrast (4.5:1 minimum)217- [ ] Glass/transparent elements visible in light mode218- [ ] Borders visible in both modes219- [ ] Test both modes before delivery220221### Layout222- [ ] Floating elements have proper spacing from edges223- [ ] No content hidden behind fixed navbars224- [ ] Responsive at 320px, 768px, 1024px, 1440px225- [ ] No horizontal scroll on mobile226227### Accessibility228- [ ] All images have alt text229- [ ] Form inputs have labels230- [ ] Color is not the only indicator231- [ ] `prefers-reduced-motion` respected