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.
⚠️ TREIDO PROJECT: This project uses Tailwind v4 with CSS variables.
Use h-(--spacing-touch-md) NOT h-11 or min-h-[44px].
See globals.css for all design tokens.
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
🎯 TREIDO PROJECT: Tailwind v4 Token Syntax
This project uses Tailwind v4 with CSS variables. Do NOT use arbitrary values or v3 syntax.
Touch Target Tokens
/* globals.css defines these tokens */
--spacing-touch-xs: 2rem; /* 32px - minimum WCAG */
--spacing-touch-sm: 2.25rem; /* 36px - compact */
--spacing-touch: 2.5rem; /* 40px - default */
--spacing-touch-md: 2.75rem; /* 44px - Apple minimum */
--spacing-touch-lg: 3rem; /* 48px - bottom nav */
Correct Syntax
// ❌ WRONG - Arbitrary values (v3 style)
className="min-h-[44px] min-w-[44px]"
className="h-11" // Magic number
// ✅ CORRECT - Tailwind v4 CSS variable syntax
className="min-h-(--spacing-touch-md) min-w-(--spacing-touch-md)"
className="h-(--spacing-touch-md)"
// ✅ CORRECT - Using size for square touch targets
className="size-(--spacing-touch-md)"
Common Treido Patterns
| Use Case |
Token |
Tailwind v4 Class |
| Bottom nav items |
48px |
h-(--spacing-touch-lg) |
| Header icons |
44px |
size-(--spacing-touch-md) |
| Button height |
44px |
h-(--spacing-button) |
| Compact button |
36px |
h-(--spacing-button-sm) |
| Input height |
44px |
h-(--spacing-input) |
| Category pills |
40px |
h-(--spacing-touch) |
Full Example
// Touch-friendly button with Treido tokens
<button
className="
min-h-(--spacing-touch-md)
px-4
rounded-lg
bg-primary
text-primary-foreground
active:opacity-80
transition-opacity
"
>
Tap me
</button>
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: Generate Design System (REQUIRED)
Always start with --design-system to get comprehensive recommendations with reasoning:
python3 .claude/skills/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 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
Step 3: Supplement with Detailed Searches (as needed)
After getting the design system, use domain searches to get additional details:
python3 .claude/skills/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 .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"
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 .claude/skills/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 .claude/skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
# Get alternative typography options if needed
python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
Step 4: Stack Guidelines
python3 .claude/skills/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 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
# Markdown - best for documentation
python3 .claude/skills/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-card or bg-surface tokens |
Use bg-white/80 (opacity modifier) |
| Text contrast light |
Use text-foreground token |
Use hardcoded hex like #0F172A |
| Muted text light |
Use text-muted-foreground token |
Use palette colors like gray-400 |
| Border visibility |
Use border-border token |
Use palette like border-gray-200 |
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-23description: 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---5
6# UI/UX Pro Max - Design Intelligence
7
8Comprehensive 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.
9
10> **⚠️ TREIDO PROJECT:** This project uses **Tailwind v4** with CSS variables.
11> Use `h-(--spacing-touch-md)` NOT `h-11` or `min-h-[44px]`.
12> See [globals.css](app/globals.css) for all design tokens.
13
14## When to Apply
15
16Reference these guidelines when:
17- Designing new UI components or pages
18- Choosing color palettes and typography
19- Reviewing code for UX issues
20- Building landing pages or dashboards
21- Implementing accessibility requirements
22
23## Rule Categories by Priority
24
25| Priority | Category | Impact | Domain |
26|----------|----------|--------|--------|
27| 1 | Accessibility | CRITICAL | `ux` |
28| 2 | Touch & Interaction | CRITICAL | `ux` |
29| 3 | Performance | HIGH | `ux` |
30| 4 | Layout & Responsive | HIGH | `ux` |
31| 5 | Typography & Color | MEDIUM | `typography`, `color` |
32| 6 | Animation | MEDIUM | `ux` |
33| 7 | Style Selection | MEDIUM | `style`, `product` |
34| 8 | Charts & Data | LOW | `chart` |
35
36## Quick Reference
37
38### 1. Accessibility (CRITICAL)
39
40- `color-contrast` - Minimum 4.5:1 ratio for normal text
41- `focus-states` - Visible focus rings on interactive elements
42- `alt-text` - Descriptive alt text for meaningful images
43- `aria-labels` - aria-label for icon-only buttons
44- `keyboard-nav` - Tab order matches visual order
45- `form-labels` - Use label with for attribute
46
47### 2. Touch & Interaction (CRITICAL)
48
49- `touch-target-size` - Minimum 44x44px touch targets
50- `hover-vs-tap` - Use click/tap for primary interactions
51- `loading-buttons` - Disable button during async operations
52- `error-feedback` - Clear error messages near problem
53- `cursor-pointer` - Add cursor-pointer to clickable elements
54
55---
56
57## 🎯 TREIDO PROJECT: Tailwind v4 Token Syntax
58
59**This project uses Tailwind v4 with CSS variables.** Do NOT use arbitrary values or v3 syntax.
60
61### Touch Target Tokens
62
63```css
64/* globals.css defines these tokens */
65--spacing-touch-xs: 2rem; /* 32px - minimum WCAG */
66--spacing-touch-sm: 2.25rem; /* 36px - compact */
67--spacing-touch: 2.5rem; /* 40px - default */
68--spacing-touch-md: 2.75rem; /* 44px - Apple minimum */
69--spacing-touch-lg: 3rem; /* 48px - bottom nav */
70```
71
72### Correct Syntax
73
74```tsx
75// ❌ WRONG - Arbitrary values (v3 style)
76className="min-h-[44px] min-w-[44px]"
77className="h-11" // Magic number
78
79// ✅ CORRECT - Tailwind v4 CSS variable syntax
80className="min-h-(--spacing-touch-md) min-w-(--spacing-touch-md)"
81className="h-(--spacing-touch-md)"
82
83// ✅ CORRECT - Using size for square touch targets
84className="size-(--spacing-touch-md)"
85```
86
87### Common Treido Patterns
88
89| Use Case | Token | Tailwind v4 Class |
90|----------|-------|-------------------|
91| Bottom nav items | 48px | `h-(--spacing-touch-lg)` |
92| Header icons | 44px | `size-(--spacing-touch-md)` |
93| Button height | 44px | `h-(--spacing-button)` |
94| Compact button | 36px | `h-(--spacing-button-sm)` |
95| Input height | 44px | `h-(--spacing-input)` |
96| Category pills | 40px | `h-(--spacing-touch)` |
97
98### Full Example
99
100```tsx
101// Touch-friendly button with Treido tokens
102<button
103 className="
104 min-h-(--spacing-touch-md)
105 px-4
106 rounded-lg
107 bg-primary
108 text-primary-foreground
109 active:opacity-80
110 transition-opacity
111 "
112>
113 Tap me
114</button>
115```
116
117---
118
119### 3. Performance (HIGH)
120
121- `image-optimization` - Use WebP, srcset, lazy loading
122- `reduced-motion` - Check prefers-reduced-motion
123- `content-jumping` - Reserve space for async content
124
125### 4. Layout & Responsive (HIGH)
126
127- `viewport-meta` - width=device-width initial-scale=1
128- `readable-font-size` - Minimum 16px body text on mobile
129- `horizontal-scroll` - Ensure content fits viewport width
130- `z-index-management` - Define z-index scale (10, 20, 30, 50)
131
132### 5. Typography & Color (MEDIUM)
133
134- `line-height` - Use 1.5-1.75 for body text
135- `line-length` - Limit to 65-75 characters per line
136- `font-pairing` - Match heading/body font personalities
137
138### 6. Animation (MEDIUM)
139
140- `duration-timing` - Use 150-300ms for micro-interactions
141- `transform-performance` - Use transform/opacity, not width/height
142- `loading-states` - Skeleton screens or spinners
143
144### 7. Style Selection (MEDIUM)
145
146- `style-match` - Match style to product type
147- `consistency` - Use same style across all pages
148- `no-emoji-icons` - Use SVG icons, not emojis
149
150### 8. Charts & Data (LOW)
151
152- `chart-type` - Match chart type to data type
153- `color-guidance` - Use accessible color palettes
154- `data-table` - Provide table alternative for accessibility
155
156## How to Use
157
158Search specific domains using the CLI tool below.
159
160---
161
162## Prerequisites
163
164Check if Python is installed:
165
166```bash
167python3 --version || python --version
168```
169
170If Python is not installed, install it based on user's OS:
171
172**macOS:**
173```bash
174brew install python3
175```
176
177**Ubuntu/Debian:**
178```bash
179sudo apt update && sudo apt install python3
180```
181
182**Windows:**
183```powershell
184winget install Python.Python.3.12
185```
186
187---
188
189## How to Use This Skill
190
191When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
192
193### Step 1: Analyze User Requirements
194
195Extract key information from user request:
196- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
197- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
198- **Industry**: healthcare, fintech, gaming, education, etc.
199- **Stack**: React, Vue, Next.js, or default to `html-tailwind`
200
201### Step 2: Generate Design System (REQUIRED)
202
203**Always start with `--design-system`** to get comprehensive recommendations with reasoning:
204
205```bash
206python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
207```
208
209This command:
2101. Searches 5 domains in parallel (product, style, color, landing, typography)
2112. Applies reasoning rules from `ui-reasoning.csv` to select best matches
2123. Returns complete design system: pattern, style, colors, typography, effects
2134. Includes anti-patterns to avoid
214
215**Example:**
216```bash
217python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
218```
219
220### Step 3: Supplement with Detailed Searches (as needed)
221
222After getting the design system, use domain searches to get additional details:
223
224```bash
225python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
226```
227
228**When to use detailed searches:**
229
230| Need | Domain | Example |
231|------|--------|---------|
232| More style options | `style` | `--domain style "glassmorphism dark"` |
233| Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
234| UX best practices | `ux` | `--domain ux "animation accessibility"` |
235| Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
236| Landing structure | `landing` | `--domain landing "hero social-proof"` |
237
238### Step 4: Stack Guidelines (Default: html-tailwind)
239
240Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
241
242```bash
243python3 .claude/skills/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
244```
245
246Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`
247
248---
249
250## Search Reference
251
252### Available Domains
253
254| Domain | Use For | Example Keywords |
255|--------|---------|------------------|
256| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
257| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
258| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
259| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
260| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
261| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
262| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
263| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
264| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
265| `prompt` | AI prompts, CSS keywords | (style name) |
266
267### Available Stacks
268
269| Stack | Focus |
270|-------|-------|
271| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
272| `react` | State, hooks, performance, patterns |
273| `nextjs` | SSR, routing, images, API routes |
274| `vue` | Composition API, Pinia, Vue Router |
275| `svelte` | Runes, stores, SvelteKit |
276| `swiftui` | Views, State, Navigation, Animation |
277| `react-native` | Components, Navigation, Lists |
278| `flutter` | Widgets, State, Layout, Theming |
279| `shadcn` | shadcn/ui components, theming, forms, patterns |
280
281---
282
283## Example Workflow
284
285**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
286
287### Step 1: Analyze Requirements
288- Product type: Beauty/Spa service
289- Style keywords: elegant, professional, soft
290- Industry: Beauty/Wellness
291- Stack: html-tailwind (default)
292
293### Step 2: Generate Design System (REQUIRED)
294
295```bash
296python3 .claude/skills/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
297```
298
299**Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
300
301### Step 3: Supplement with Detailed Searches (as needed)
302
303```bash
304# Get UX guidelines for animation and accessibility
305python3 .claude/skills/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
306
307# Get alternative typography options if needed
308python3 .claude/skills/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
309```
310
311### Step 4: Stack Guidelines
312
313```bash
314python3 .claude/skills/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
315```
316
317**Then:** Synthesize design system + detailed searches and implement the design.
318
319---
320
321## Output Formats
322
323The `--design-system` flag supports two output formats:
324
325```bash
326# ASCII box (default) - best for terminal display
327python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
328
329# Markdown - best for documentation
330python3 .claude/skills/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
331```
332
333---
334
335## Tips for Better Results
336
3371. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
3382. **Search multiple times** - Different keywords reveal different insights
3393. **Combine domains** - Style + Typography + Color = Complete design system
3404. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
3415. **Use stack flag** - Get implementation-specific best practices
3426. **Iterate** - If first search doesn't match, try different keywords
343
344---
345
346## Common Rules for Professional UI
347
348These are frequently overlooked issues that make UI look unprofessional:
349
350### Icons & Visual Elements
351
352| Rule | Do | Don't |
353|------|----|----- |
354| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
355| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
356| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
357| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
358
359### Interaction & Cursor
360
361| Rule | Do | Don't |
362|------|----|----- |
363| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
364| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
365| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
366
367### Light/Dark Mode Contrast
368
369| Rule | Do | Don't |
370|------|----|----- |
371| **Glass card light mode** | Use `bg-card` or `bg-surface` tokens | Use `bg-white/80` (opacity modifier) |
372| **Text contrast light** | Use `text-foreground` token | Use hardcoded hex like `#0F172A` |
373| **Muted text light** | Use `text-muted-foreground` token | Use palette colors like `gray-400` |
374| **Border visibility** | Use `border-border` token | Use palette like `border-gray-200` |
375
376### Layout & Spacing
377
378| Rule | Do | Don't |
379|------|----|----- |
380| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
381| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
382| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
383
384---
385
386## Pre-Delivery Checklist
387
388Before delivering UI code, verify these items:
389
390### Visual Quality
391- [ ] No emojis used as icons (use SVG instead)
392- [ ] All icons from consistent icon set (Heroicons/Lucide)
393- [ ] Brand logos are correct (verified from Simple Icons)
394- [ ] Hover states don't cause layout shift
395- [ ] Use theme colors directly (bg-primary) not var() wrapper
396
397### Interaction
398- [ ] All clickable elements have `cursor-pointer`
399- [ ] Hover states provide clear visual feedback
400- [ ] Transitions are smooth (150-300ms)
401- [ ] Focus states visible for keyboard navigation
402
403### Light/Dark Mode
404- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
405- [ ] Glass/transparent elements visible in light mode
406- [ ] Borders visible in both modes
407- [ ] Test both modes before delivery
408
409### Layout
410- [ ] Floating elements have proper spacing from edges
411- [ ] No content hidden behind fixed navbars
412- [ ] Responsive at 375px, 768px, 1024px, 1440px
413- [ ] No horizontal scroll on mobile
414
415### Accessibility
416- [ ] All images have alt text
417- [ ] Form inputs have labels
418- [ ] Color is not the only indicator
419- [ ] `prefers-reduced-motion` respected