UI/UX Design Guide
by @itsjustdri
Expert guidance on mobile-first UI/UX design, color systems, typography, accessibility (WCAG 2.2), Tailwind + Shadcn/ui integration, micro-interactions, and...
clawhub install ui-ux-designπ About This Skill
UI/UX Design
Name: ui-ux-design Description: Modern UI/UX design principles, patterns, and best practices for web and mobile applications. Use when building user interfaces, designing layouts, choosing color palettes, implementing responsive design, ensuring accessibility (WCAG), or creating beautiful modern applications. Includes 2026 design trends, Tailwind CSS patterns, Shadcn/ui integration, micro-interactions, and mobile-first responsive design.
When to Use This Skill
Activate this skill when:
Core Design Principles
1. Mobile-First Always
2. Visual Hierarchy
Guide user attention using:3. Whitespace is Your Weapon
Quick Reference
Color System
Build a primary color scale (50-900):Tools: Huevy.app, Coolors.co, Adobe Color
Typography Scale (8px baseline)
text-xs: 12px / 16px line-height
text-sm: 14px / 20px
text-base: 16px / 24px (body default)
text-lg: 18px / 28px
text-xl: 20px / 28px
text-2xl: 24px / 32px
text-3xl: 30px / 36px (section headers)
text-4xl: 36px / 40px
text-5xl: 48px / 1 (hero titles)
Font pairing: 2 fonts max (sans-serif for UI, optional serif for headings)
Layout Patterns
repeat(auto-fit, minmax(280px, 1fr)) (no media queries!)Micro-Interactions
transform and opacity (GPU accelerated)Accessibility (WCAG 2.2)
Shadcn/ui + Tailwind Stack
Setup (Next.js)
npx create-next-app@latest project-name --typescript --tailwind --app
cd project-name
npx shadcn@latest init
Choose: Style (Default), Base color (Blue or custom), CSS variables (Yes)
Adding Components
npx shadcn@latest add button
npx shadcn@latest add card
npx shadcn@latest add dialog
npx shadcn@latest add calendar
Components appear in components/ui/ β you own the code, customize freely.
Tailwind Best Practices
p-4 not p-[17px]w-full md:w-1/2 lg:w-1/3dark:bg-gray-900 dark:text-whitePre-Build Checklist
Before writing code, confirm:
Inspiration Sources
Study these products:
Tools:
The 5 Laws of Beautiful UI
1. Contrast creates hierarchy (big vs small, dark vs light) 2. Whitespace creates calm (never fear empty space) 3. Consistency builds trust (same patterns repeated) 4. Feedback confirms action (animations, success messages) 5. Accessibility includes everyone (contrast, keyboard, screen readers)
Full Reference
For comprehensive deep-dives (component patterns, animation examples, responsive grid techniques), see UI_UX_MASTER_GUIDE.md in this skill directory.
Last Updated: 2026-02-05