Install
openclaw skills install ui-design-tipsApply practical UI/UX design principles to improve user interfaces, landing pages, web apps, and components. Use when asked to review, critique, or improve UI design; suggest design improvements for buttons, forms, headers, cards, menus, color usage, visual hierarchy, pricing pages, or any UI element; apply UX laws (Fitts's Law, Gutenberg Principle, Hick's Law, Jakob's Law, etc.); fix accessibility issues; design better onboarding, error messages, empty states, navigation, micro-interactions, or UX copy; or answer questions about UI/UX best practices. Covers visual hierarchy, CTA optimization, color usage, typography, whitespace, alignment, form design, mobile UX, dangerous actions, empty states, onboarding, UX writing, error handling, trust signals, conversion optimization, and more.
openclaw skills install ui-design-tipsPractical UI/UX knowledge distilled from real-world product testing (Jim Raptis / uidesign.tips) plus extended UX principles. Apply these when reviewing or improving any interface.
The #1 design lever. Everything else builds on this.
Hacks:
Perfect Header formula:
transform: scale(1.04) + distinct border color + box-shadow glowAligning uneven elements: Set same width for all items using the widest element's width.
Avoid full-width paragraphs: Limit to 500–700px. CSS: max-width: 65ch
Padding on rounded cards: Use double padding on the non-rounded edges (text/icon side)
Border radius consistency: Outer radius = 2× Inner radius
| ❌ Avoid | ✅ Use instead |
|---|---|
| "Submit" | "Start Free Trial" / "Create My Account" |
| "Yes" / "No" | "Delete Project" / "Keep It" |
| "Error occurred" | "We couldn't save your work. Try again?" |
| "Invalid input" | "Email must include @" |
| "Are you sure?" | "This will permanently delete 'Project Name'" |
Every interactive element needs 3 states minimum:
translateY(-2px) + glow/shadow increasetranslate(2px, 2px) reverses lift (feels physical)Missing active state = cheap, broken feel.
Navigation button pattern:
Button animation timing rules:
ease-out for entrances, ease-in for exits, never linear (except spinners)@media (prefers-reduced-motion: reduce) wrapperLoading states:
pointer-events: noneNeon/glow effects (dark UI):
/* Focus ring */
.input:focus { box-shadow: 0 0 0 3px rgba(177,79,255,0.2); }
/* Hover intensify */
.btn:hover { box-shadow: 0 0 30px rgba(177,79,255,0.5); }
CSS custom properties for consistent theming:
:root {
--accent: #b14fff;
--accent-rgb: 177, 79, 255;
--radius: 12px; /* card outer */
--radius-sm: 6px; /* card inner → outer = 2× inner rule */
}
For full CSS patterns and component code → references/micro-interactions.md
Choose palette based on industry psychology — not personal preference:
| Category | Primary | CTA | Background |
|---|---|---|---|
| SaaS / Tech | Blue #2563EB | Orange #F97316 | Light #F8FAFC |
| Gaming / Cyberpunk | Purple #7C3AED | Rose #F43F5E | Dark #0F0F23 |
| AI Products | Purple #7C3AED | Cyan #06B6D4 | Soft #FAF5FF |
| Fintech / Crypto | Gold #F59E0B | Purple #8B5CF6 | Dark #0F172A |
| Healthcare | Cyan #0891B2 | Green #059669 | Light #ECFEFF |
| Creative Agency | Pink #EC4899 | Cyan #06B6D4 | Soft #FDF2F8 |
| E-commerce Luxury | Black #1C1917 | Gold #CA8A04 | Off-white #FAFAF9 |
| Video Streaming | Black #0F0F23 | Red #E11D48 | Pure #000000 |
| Food / Restaurant | Red #DC2626 | Gold #CA8A04 | Warm #FEF2F2 |
Industry rules:
Full database (96 product types) → references/design-systems-pro.md
Glassmorphism — Modern SaaS, financial, lifestyle
backdrop-filter: blur(15px);
background: rgba(255,255,255,0.15);
border: 1px solid rgba(255,255,255,0.2);
Neubrutalism — Gen Z brands, creative, startups
border: 3px solid #000;
box-shadow: 5px 5px 0 #000; /* hard offset, no blur */
/* Hover: translate(-4px, -4px) + box-shadow: 9px 9px 0 #000 */
Bento Grid (Apple-style) — Dashboards, product features
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: 200px;
gap: 16px;
/* Cards: border-radius: 24px; hover: scale(1.02) */
Cyberpunk — Gaming, crypto, entertainment
background: #0D0D0D;
color: #00FF00; /* or #FF00FF / #00FFFF */
text-shadow: 0 0 10px currentColor;
font-family: monospace;
/* Add scanlines via ::before repeating-linear-gradient */
Claymorphism — Kids, education, SaaS onboarding
border-radius: 16-24px;
border: 3-4px solid rgba(0,0,0,0.1);
box-shadow: inset -2px -2px 8px rgba(255,255,255,0.5), 4px 4px 8px rgba(0,0,0,0.2);
/* Bounce: cubic-bezier(0.34, 1.56, 0.64, 1) */
For all 60+ styles → references/design-systems-pro.md
| Vibe | Heading | Body |
|---|---|---|
| Tech Startup | Space Grotesk | DM Sans |
| Gaming / Esports | Russo One | Chakra Petch |
| Cyberpunk / HUD | Share Tech Mono | Fira Code |
| Luxury / Fashion | Cormorant | Montserrat |
| Minimal SaaS | Inter | Inter |
| AI / Modern | Plus Jakarta Sans | Plus Jakarta Sans |
| Wellness | Lora (serif) | Raleway |
| Kids / Education | Baloo 2 | Comic Neue |
| News / Editorial | Newsreader | Roboto |
| Gen Z Bold | Anton | Epilogue |
| Crypto / Web3 | Orbitron | Exo 2 |
Chinese: Noto Sans SC
Japanese: Noto Serif JP + Noto Sans JP
| Goal | Pattern | Key CTA Rule |
|---|---|---|
| SaaS free trial | Hero + Features + CTA | Video demo + sticky CTA |
| Lead generation | Lead Magnet + Form | ≤3 fields, preview lead magnet |
| Pricing page | 3-tier Pricing | Middle tier = "Most Popular", annual discount 20-30% |
| Brand / storytelling | Scroll Narrative | 5-7 chapters, emotional hooks |
| Event / Webinar | Event Landing | Countdown + limited seats |
| Waitlist | Waitlist Pattern | Countdown + email + social proof count |
CTA placement rules:
:root {
/* Spacing (8px base) */
--space-4: 16px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
/* Type Scale (1.25×) */
--text-base: 16px; /* body minimum */
--text-2xl: 24px; --text-4xl: 36px; --text-6xl: 60px;
/* Radius */
--radius: 12px; --radius-lg: 16px; --radius-xl: 24px;
/* Elevation */
--shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
--shadow-md: 0 10px 20px rgba(0,0,0,0.1);
--shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
--shadow-glow: 0 0 30px rgba(var(--accent-rgb), 0.4);
/* Z-Index */
--z-1: 10; --z-2: 20; --z-modal: 50; --z-toast: 100;
/* Animation */
--duration-fast: 150ms; --duration-normal: 200ms; --duration-slow: 300ms;
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
--spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* bouncy press */
}
references/ux-laws.mdreferences/ux-writing.mdreferences/conversion-checklist.mdreferences/micro-interactions.mdreferences/design-systems-pro.md