Comprehensive UI and UX design principles for software development...
Comprehensive guide for UI and UX design principles in software development, covering visual design, interaction patterns, accessibility, performance, and responsive design.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Visual Design | HIGH | visual- |
| 2 | Accessibility | CRITICAL | accessibility- |
| 3 | Interaction Design | HIGH | interaction- |
| 4 | Responsive Design | HIGH | responsive- |
| 5 | User Feedback | MEDIUM-HIGH | feedback- |
| 6 | Information Architecture | MEDIUM | ia- |
| 7 | Performance Optimization | MEDIUM | performance- |
| 8 | Consistency | MEDIUM | consistency- |
| 9 | Mobile-First Design | HIGH | mobile- |
| 10 | Testing and Iteration | MEDIUM | testing- |
visual-hierarchy - Establish clear visual hierarchyvisual-color-palette - Use cohesive color palettevisual-typography - Effective typography for readabilityvisual-contrast - Maintain WCAG 2.1 AA contrastvisual-style-consistency - Consistent style across applicationaccessibility-wcag - Follow WCAG guidelinesaccessibility-semantic-html - Use semantic HTMLaccessibility-alt-text - Provide alt text for imagesaccessibility-keyboard-navigation - Ensure keyboard navigabilityaccessibility-assistive-tech - Test with assistive technologiesinteraction-navigation - Intuitive navigation patternsinteraction-familiar-components - Use familiar UI componentsinteraction-cta - Clear calls-to-actioninteraction-animations - Judicious use of animationsinteraction-responsive - Cross-device compatibilityresponsive-fluid-layouts - Use relative units and flexible layoutsresponsive-media-queries - Breakpoints for different screen sizesresponsive-images - Responsive images with srcsetresponsive-typography - Relative units for typographyresponsive-content-priority - Prioritize content for mobilefeedback-mechanisms - Clear feedback for user actionsfeedback-loading - Loading indicators for async operationsfeedback-errors - Clear error messages and recoveryfeedback-analytics - Track user behavioria-organization - Logical content organizationia-labeling - Clear labeling and categorizationia-search - Effective search functionalityia-sitemap - Visualize structure with sitemapperformance-images - Optimize images and assetsperformance-lazy-loading - Lazy load non-critical resourcesperformance-code-splitting - Code splitting for initial loadperformance-core-web-vitals - Monitor Core Web Vitalsconsistency-design-system - Develop and adhere to design systemconsistency-terminology - Consistent terminologyconsistency-positioning - Consistent element positioningconsistency-visual - Visual consistency across sectionsmobile-first-approach - Design mobile first, scale upmobile-touch-targets - Touch-friendly interface elementsmobile-gestures - Implement common gesturesmobile-thumb-zones - Consider thumb zonestesting-ab - A/B testing for critical decisionstesting-heatmaps - Use heatmaps and session recordingstesting-user-feedback - Gather and incorporate feedbacktesting-iteration - Iterate based on dataRead individual rule files for detailed explanations and code examples:
rules/visual-hierarchy.md
rules/accessibility-wcag.md
rules/responsive-fluid-layouts.md
Each rule file contains:
For the complete guide with all rules expanded: AGENTS.md