web-ui-design-guide
Web UI Design Guide
Overview
Ensure every web UI component built looks modern and professional by applying systematic design principles. This skill provides comprehensive guidelines for color, spacing, typography, and component-specific patterns to achieve clean, minimal, and consistent user interfaces.
When to Use This Skill
Activate this skill when:
- Building any web UI component (buttons, forms, cards, navigation, modals, etc.)
- Creating layouts or page designs
- Implementing design systems or component libraries
- Working with UI frameworks (React, Vue, Next.js, shadcn/ui, etc.)
- Receiving requests like:
- "Create a login form"
- "Design a dashboard card"
- "Build a navigation header"
- "Make this UI look modern"
- "Style this component"
Do NOT activate for:
- Backend API development
- Database queries
- Server configuration
- Non-visual code tasks
Core Design Philosophy
Follow these fundamental principles for all UI work:
- Clean and Minimal - Prioritize whitespace, reduce visual clutter
- Neutral Color Palette - Gray/off-white base (80-90%) + ONE accent color (5-10%)
- 8px Grid System - All spacing uses multiples of 8: 8, 16, 24, 32, 48, 64px
- Typography Hierarchy - Minimum 16px body text, maximum 2 font families
- Subtle Effects - Understated shadows, selective rounded corners
- Mobile-First - Design for small screens first, expand to larger
How to Use This Skill
Step 1: Load Relevant Reference
Before implementing any UI component, load the appropriate reference file:
Read references/design-principles.md - Core philosophy and principles
Read references/color-palette.md - Color system and accent usage
Read references/spacing-system.md - 8px grid spacing scale
Read references/typography.md - Font sizes, weights, line heights
Read references/component-patterns.md - Component-specific best practices
Read references/anti-patterns.md - Common mistakes to avoid
Recommendation: Start with design-principles.md for overall philosophy, then load component-specific files as needed.
Step 2: Apply Component-Specific Patterns
For each component type, reference the corresponding section in component-patterns.md:
- Button:
component-patterns.md→ Button section - Card:
component-patterns.md→ Card section - Form:
component-patterns.md→ Form section - Navigation:
component-patterns.md→ Navigation section - Modal:
component-patterns.md→ Modal section - Table:
component-patterns.md→ Table section - Badge/Tag:
component-patterns.md→ Badge section - Dropdown:
component-patterns.md→ Dropdown section
Step 3: Validate Against Anti-Patterns
Before finalizing implementation, check anti-patterns.md to ensure the design avoids:
- ❌ Rainbow gradients or generic purple/blue gradients
- ❌ Text smaller than 16px for body content
- ❌ Inconsistent spacing (non-8px multiples)
- ❌ More than 2 font families
- ❌ Border + shadow on the same element
- ❌ Unclear interactive states (hover, focus, active)
Step 4: Ensure System Consistency
Apply the 8px grid system for all spacing:
- Use only: 4px (rare), 8px, 12px, 16px, 24px, 32px, 48px, 64px
- Reference
spacing-system.mdfor component-specific spacing guidelines
Use neutral color palette as foundation:
- Base: #FFFFFF, #FAFAFA, #F5F5F5
- Grays: #E0E0E0, #CCCCCC, #999999, #666666, #333333, #1A1A1A
- ONE accent color for actions and emphasis
- Reference
color-palette.mdfor detailed color usage
Maintain typography hierarchy:
- Body text: minimum 16px, line-height 1.6
- Maximum 2 font families
- Clear heading scales (32px H1, 24px H2, 20px H3)
- Reference
typography.mdfor complete type scale
Resources
references/
Documentation loaded into context as needed to inform design decisions:
- design-principles.md - Core philosophy: clean minimal design, neutral palette, 8px grid, typography hierarchy, subtle effects, mobile-first
- color-palette.md - Neutral base colors, single accent color usage, semantic colors, examples and anti-patterns
- spacing-system.md - 8px grid scale, component spacing guidelines, responsive spacing
- typography.md - Font selection, type scale, weights, line lengths, component typography
- component-patterns.md - Design patterns for buttons, cards, forms, navigation, modals, tables, badges, dropdowns
- anti-patterns.md - Common design mistakes to avoid with alternatives
Quick Decision Tree
UI Component Request
│
├─ What component? → Load component-patterns.md section
│
├─ What spacing? → Use 8px grid (spacing-system.md)
│
├─ What colors? → Neutral base + accent (color-palette.md)
│
├─ What typography? → 16px+ body, clear hierarchy (typography.md)
│
└─ Validation → Check anti-patterns.md
Examples
Good Request Flow:
User: "Create a login form"
→ Read references/component-patterns.md (Form section)
→ Read references/spacing-system.md (Form spacing)
→ Apply: 16px input text, 8px label gap, 24px button spacing
→ Validate against anti-patterns.md
→ Implement with neutral colors + accent for primary button
Component Implementation Checklist:
- ✅ Spacing uses 8px multiples
- ✅ Text minimum 16px for body
- ✅ Neutral colors (80-90%) + accent color (5-10%)
- ✅ Clear hover/focus/active states
- ✅ No rainbow gradients or generic purple/blue
- ✅ Maximum 2 font families
- ✅ Mobile-first responsive design
More from muheun/claude-code-marketplace
android-ui-design-guide
Apply Android/Jetpack Compose design principles following Material Design 3 when building any Android UI component. Only execute this when the current project is an Android project and involves UI-related work. Use this skill for Compose layouts, Material components, or Android app development. Ensures Material You compliance with Dynamic Color, expressive theming, 4dp grid spacing, Roboto typography with Type Scale, and native Android patterns. Prevents common anti-patterns like hardcoded colors, Dark Mode neglect, and touch target violations.
19flutter-ui-design-guide
Apply Flutter design principles with Material Design and Cupertino (iOS-style) support when building cross-platform UI. Only execute this when the current project is a Flutter project and involves UI-related work. Use this skill for Flutter widgets, Dart layouts, or cross-platform app development. Ensures Material Design compliance (Android) and Cupertino guidelines (iOS), 8dp grid spacing, Material TextTheme, Theme-based colors with dark mode, and adaptive widgets. Prevents common anti-patterns like hardcoded colors, fixed text sizes, and excessive widget nesting.
5ios-ui-design-guide
Apply iOS/SwiftUI design principles following Apple Human Interface Guidelines when building any iOS UI component. Only execute this when the current project is an iOS project and involves UI-related work. Use this skill for SwiftUI views, UIKit components, or iOS app development. Ensures HIG compliance with Clarity, Deference, and Depth principles, system colors with Dark Mode support, 8pt grid spacing, SF Pro typography with Dynamic Type, and native iOS interaction patterns. Prevents common anti-patterns like fixed text sizes, Dark Mode neglect, and Safe Area violations.
5smart-git-commit
Execute git commit operations when user requests to commit or push code changes. Use this skill to generate recommended commit messages, perform local commits, or push to remote repositories. Auto-activates for Korean keywords ("커밋", "푸시") and English keywords ("commit", "push"). Always uses Bash tool for git operations and Claude's natural language processing for message generation.
3smart-linear-issue
Linear 이슈 생성/수정/코멘트 기능을 제공하는 스킬. 한글 키워드 ("이슈 생성", "이슈 수정", "코멘트 추가") 및 영문 키워드 ("create issue", "update issue", "add comment")로 자동 활성화. Gitmoji 기반 한글 제목과 사용자 승인 필수 워크플로우로 일관된 이슈 관리를 지원합니다.
3