--- name: ui-ux-designer description: Modern UI/UX design specialist for web applications, mobile apps, and design systems. Covers design principles, user research, interaction patterns, accessibility (WCAG), responsive design, component libraries (Tailwind, shadcn/ui, Material), prototyping, and usability testing. Creates beautiful, functional interfaces following best practices. --- # UI/UX Designer Skill Expert in modern user interface and user experience design for web and mobile applications. Provides comprehensive guidance on design principles, interaction patterns, accessibility, and implementation using modern frameworks and libraries. ## Core Competencies ### 1. Design Principles - **Visual Hierarchy:** Guide user attention with size, color, spacing, contrast - **Consistency:** Maintain patterns across entire application - **Affordance:** Design elements that suggest their function - **Feedback:** Provide clear response to user actions - **White Space:** Use breathing room to reduce cognitive load - **Typography:** Choose readable fonts with proper sizing and spacing - **Color Theory:** Create harmonious palettes with proper contrast - **Progressive Disclosure:** Reveal complexity gradually ### 2. User Research & Analysis - **User Personas:** Define target user archetypes - **User Journeys:** Map complete user workflows - **Pain Points:** Identify friction in current experience - **Task Analysis:** Break down user goals into steps - **Competitive Analysis:** Learn from similar products - **Usability Testing:** Validate designs with real users - **A/B Testing:** Compare design variations empirically - **Analytics Review:** Use data to inform decisions ### 3. Interaction Patterns - **Navigation:** Clear, predictable movement through app - **Forms:** Efficient, error-tolerant data collection - **Feedback:** Loading states, success/error messages - **Microinteractions:** Small delightful moments - **Gestures:** Touch and mouse interactions - **Transitions:** Smooth, purposeful animations - **Empty States:** Guide users when no content exists - **Errors:** Helpful, actionable error messages ### 4. Accessibility (WCAG 2.1) - **Perceivable:** Content available to all senses - **Operable:** UI components usable by all - **Understandable:** Information and operation clear - **Robust:** Compatible with assistive technologies - **Color Contrast:** 4.5:1 for normal text, 3:1 for large - **Keyboard Navigation:** All functions keyboard-accessible - **Screen Readers:** Semantic HTML, ARIA labels - **Focus Indicators:** Clear visual focus states ### 5. Responsive Design - **Mobile First:** Design for smallest screen, enhance up - **Breakpoints:** Common: 640px, 768px, 1024px, 1280px - **Flexible Grids:** Use relative units (%, rem, fr) - **Touch Targets:** Minimum 44x44px for mobile - **Performance:** Optimize for slow networks - **Progressive Enhancement:** Core experience works everywhere ## Modern Tech Stack ### CSS Frameworks **Tailwind CSS** (Recommended) ```html ``` **Benefits:** - Utility-first approach - No CSS file bloat - Rapid prototyping - Consistent spacing/colors - Easy responsive design ### Component Libraries **shadcn/ui** (Recommended for React) - Accessible components (Radix UI primitives) - Tailwind-styled - Copy/paste, not npm install - Full customization **Material UI (MUI)** - Comprehensive component set - Material Design guidelines - Enterprise-ready - TypeScript support **Chakra UI** - Accessible by default - Composable components - Dark mode built-in - Great developer experience ### Design Tools - **Figma:** Collaborative design (industry standard) - **Adobe XD:** Adobe ecosystem integration - **Sketch:** Mac-only, design systems - **Framer:** Interactive prototypes - **Excalidraw:** Quick wireframes ### Icon Libraries - **Lucide:** Modern, consistent (recommended) - **Heroicons:** Tailwind-designed - **Feather:** Minimal, clean - **Font Awesome:** Comprehensive, classic ## UI/UX Workflow ### Phase 1: Research (20% of time) 1. **Understand Users** - Who are they? - What are their goals? - What's their context? 2. **Define Requirements** - Functional requirements - Business goals - Technical constraints 3. **Competitive Analysis** - What works well elsewhere? - What should we avoid? - Where's the opportunity? ### Phase 2: Ideation (15% of time) 1. **Sketching** - Low-fidelity paper sketches - Multiple approaches - Quick iteration 2. **Wireframing** - Digital low-fidelity layouts - Focus on structure, not style - Tools: Figma, Excalidraw 3. **Information Architecture** - Content organization - Navigation structure - Page hierarchy ### Phase 3: Design (30% of time) 1. **Visual Design** - Choose color palette - Select typography - Create components - Design key screens 2. **Design System** - Define reusable components - Document patterns - Create style guide 3. **Prototyping** - Interactive mockups - Test user flows - Validate interactions ### Phase 4: Implementation (30% of time) 1. **Component Development** - Build reusable components - Implement responsive behavior - Add accessibility features 2. **Integration** - Connect to backend - Handle loading/error states - Optimize performance 3. **Polish** - Smooth animations - Microinteractions - Edge case handling ### Phase 5: Testing & Iteration (5% of time) 1. **Usability Testing** - Observe real users - Identify issues - Gather feedback 2. **Accessibility Audit** - Screen reader testing - Keyboard navigation - Color contrast check 3. **Performance Testing** - Load times - Animation smoothness - Mobile performance ## Design System Template ### Color Palette ```css /* Primary Colors */ --primary-50: #eff6ff; --primary-500: #3b82f6; --primary-900: #1e3a8a; /* Semantic Colors */ --success: #10b981; --warning: #f59e0b; --error: #ef4444; --info: #3b82f6; /* Neutrals */ --gray-50: #f9fafb; --gray-500: #6b7280; --gray-900: #111827; ``` ### Typography Scale ```css /* Tailwind default scale */ text-xs: 0.75rem (12px) text-sm: 0.875rem (14px) text-base: 1rem (16px) text-lg: 1.125rem (18px) text-xl: 1.25rem (20px) text-2xl: 1.5rem (24px) text-3xl: 1.875rem (30px) text-4xl: 2.25rem (36px) ``` ### Spacing Scale ```css /* Tailwind 4px base unit */ 0: 0 1: 0.25rem (4px) 2: 0.5rem (8px) 3: 0.75rem (12px) 4: 1rem (16px) 6: 1.5rem (24px) 8: 2rem (32px) 12: 3rem (48px) 16: 4rem (64px) ``` ### Component Variants **Button Sizes:** - Small: py-1.5 px-3 text-sm - Medium: py-2 px-4 text-base - Large: py-3 px-6 text-lg **Button Styles:** - Primary: bg-primary text-white - Secondary: bg-gray-200 text-gray-900 - Ghost: bg-transparent hover:bg-gray-100 - Danger: bg-red-500 text-white ## Common UI Patterns ### Navigation **Top Nav (Desktop)** ```html ``` **Mobile Menu (Hamburger)** ```html ``` ### Forms **Input Field** ```html
We'll never share your email.
This field is required
Looks good!
``` ### Cards **Basic Card** ```htmlCard description goes here.
Modal content goes here.
Successfully saved!