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-workflow3description: 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:**2021```bash22brew install python323```2425**Ubuntu/Debian:**2627```bash28sudo apt update && sudo apt install python329```3031**Windows:**3233```powershell34winget install Python.Python.3.1235```3637---3839## How to Use This Workflow4041When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:4243### Step 1: Analyze User Requirements4445Extract key information from user request:4647- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.48- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.49- **Industry**: healthcare, fintech, gaming, education, etc.50- **Stack**: React, Vue, Next.js, or default to `html-tailwind`5152### Step 2: Search Relevant Domains5354Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.5556```bash57python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]58```5960**Recommended search order:**61621. **Product** - Get style recommendations for product type632. **Style** - Get detailed style guide (colors, effects, frameworks)643. **Typography** - Get font pairings with Google Fonts imports654. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)665. **Landing** - Get page structure (if landing page)676. **Chart** - Get chart recommendations (if dashboard/analytics)687. **UX** - Get best practices and anti-patterns698. **Stack** - Get stack-specific guidelines (default: html-tailwind)7071### Step 3: Stack Guidelines (Default: html-tailwind)7273If user doesn't specify a stack, **default to `html-tailwind`**.7475```bash76python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind77```7879Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`8081---8283## Search Reference8485### Available Domains8687| Domain | Use For | Example Keywords |88| ------------ | ------------------------------------ | -------------------------------------------------------- |89| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |90| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |91| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |92| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |93| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |94| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |95| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |96| `prompt` | AI prompts, CSS keywords | (style name) |9798### Available Stacks99100| Stack | Focus |101| --------------- | ---------------------------------------------- |102| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |103| `react` | State, hooks, performance, patterns |104| `nextjs` | SSR, routing, images, API routes |105| `vue` | Composition API, Pinia, Vue Router |106| `svelte` | Runes, stores, SvelteKit |107| `swiftui` | Views, State, Navigation, Animation |108| `react-native` | Components, Navigation, Lists |109| `flutter` | Widgets, State, Layout, Theming |110| `shadcn` | shadcn/ui components, theming, forms, patterns |111112---113114## Example Workflow115116**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"117118**AI should:**119120```bash121# 1. Search product type122python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product123124# 2. Search style (based on industry: beauty, elegant)125python3 .shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style126127# 3. Search typography128python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography129130# 4. Search color palette131python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color132133# 5. Search landing page structure134python3 .shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing135136# 6. Search UX guidelines137python3 .shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux138python3 .shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux139140# 7. Search stack guidelines (default: html-tailwind)141python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind142```143144**Then:** Synthesize all search results and implement the design.145146---147148## Tips for Better Results1491501. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"1512. **Search multiple times** - Different keywords reveal different insights1523. **Combine domains** - Style + Typography + Color = Complete design system1534. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues1545. **Use stack flag** - Get implementation-specific best practices1556. **Iterate** - If first search doesn't match, try different keywords1567. **Split Into Multiple Files** - For better maintainability:157 - Separate components into individual files (e.g., `Header.tsx`, `Footer.tsx`)158 - Extract reusable styles into dedicated files159 - Keep each file focused and under 200-300 lines160161---162163## Common Rules for Professional UI164165These are frequently overlooked issues that make UI look unprofessional:166167### Icons & Visual Elements168169| Rule | Do | Don't |170| -------------------------- | ----------------------------------------------- | -------------------------------------- |171| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |172| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |173| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |174| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |175176### Interaction & Cursor177178| Rule | Do | Don't |179| ---------------------- | ----------------------------------------------------- | -------------------------------------------- |180| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |181| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |182| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |183184### Light/Dark Mode Contrast185186| Rule | Do | Don't |187| ------------------------- | ----------------------------------- | --------------------------------------- |188| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |189| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |190| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |191| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |192193### Layout & Spacing194195| Rule | Do | Don't |196| ------------------------ | ----------------------------------- | -------------------------------------- |197| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |198| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |199| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |200201---202203## Pre-Delivery Checklist204205Before delivering UI code, verify these items:206207### Visual Quality208209- [ ] No emojis used as icons (use SVG instead)210- [ ] All icons from consistent icon set (Heroicons/Lucide)211- [ ] Brand logos are correct (verified from Simple Icons)212- [ ] Hover states don't cause layout shift213214### Interaction215216- [ ] All clickable elements have `cursor-pointer`217- [ ] Hover states provide clear visual feedback218- [ ] Transitions are smooth (150-300ms)219- [ ] Focus states visible for keyboard navigation220221### Light/Dark Mode222223- [ ] Light mode text has sufficient contrast (4.5:1 minimum)224- [ ] Glass/transparent elements visible in light mode225- [ ] Borders visible in both modes226- [ ] Test both modes before delivery227228### Layout229230- [ ] Floating elements have proper spacing from edges231- [ ] No content hidden behind fixed navbars232- [ ] Responsive at 320px, 768px, 1024px, 1440px233- [ ] No horizontal scroll on mobile234235### Accessibility236237- [ ] All images have alt text238- [ ] Form inputs have labels239- [ ] Color is not the only indicator240- [ ] `prefers-reduced-motion` respected