
UI/UX Design Principles for AI Agents
Exact, checkable rules for AI agents building web and mobile interfaces.
You can read the contents and the first 2,000 characters.
Pro includes the whole book.
- By Sahar Carmel
- 20 chapters
- Updated Nov 1, 2026
- 286 readers
What’s inside
- Visual Hierarchy & Layout
- Typography System
- Color System
- Spacing & Depth
- Component Patterns
- Navigation & Information Architecture
From the first page
This is a reference manual for AI agents building web and mobile user interfaces. Every chapter is a self-contained module of concrete, actionable rules — read any chapter independently without needing context from others.
A systematic collection of UI/UX design rules with specific thresholds, values, and anti-patterns. This is not a design philosophy book. It is an instruction set. Each rule tells you exactly what to do, when to do it, and what to avoid.
The rules are derived from established design systems, accessibility standards, and production-tested patterns. They prioritize correctness and usability over novelty.
A second layer of rules comes from the Impeccable design skill (impeccable.style). That layer targets the tells of AI-generated interfaces: the fonts, palettes, card grids, glow effects, easing curves, and copy habits that models reach for by default. Those rules tell you which defaults to refuse, and what to decide instead. They appear throughout the chapters, in the AI-Generated Interface Tells section of Chapter 15, and in Chapters 16 through 19.
Each chapter is independent. You do not need to read chapters in order. Jump to the chapter that matches your current task. If a concept from another chapter is relevant, it is briefly restated in context — no cross-referencing required.
Preview · 2,000 of 544,795 characters
Contents
- 01How to Use This Bookp.1
- What This Book Isp.1
- How to Use Itp.1
- Conventionsp.1
- Quick Lookupp.1
- Key Principlep.1
- 02Quick Reference — Decision Matrixp.2
- Master Decision Matrixp.2
- Measurement Referencep.2
- Decision Treesp.2
- Platform Quick Referencep.2
- 03Visual Hierarchy & Layoutp.3
- Quick Referencep.3
- Importance Assignmentp.3
- Weight and Contrastp.3
- Attention and Scan Patternsp.3
- Alignment and Visual Weightp.3
- Interaction Placementp.3
- Button and Action Hierarchyp.3
- Spacing and Layoutp.3
- +2 more sections
- 04Typography Systemp.4
- Quick Referencep.4
- Type Scalep.4
- Font Selectionp.4
- Readabilityp.4
- Text Stylingp.4
- Platform Notesp.4
- Checklistp.4
- 05Color Systemp.5
- Quick Referencep.5
- Color Modelp.5
- Palette Structurep.5
- Shade Generationp.5
- Greysp.5
- Contrast and Accessibilityp.5
- Color Dosage and Restraintp.5
- Emotional Colorp.5
- +3 more sections
- 06Spacing & Depthp.6
- Quick Referencep.6
- Shadows and Elevationp.6
- Depth Without Shadowsp.6
- Borders and Separationp.6
- Flow Spacingp.6
- Backgrounds and Decorationp.6
- Platform Notesp.6
- Checklistp.6
- 07Component Patternsp.7
- Quick Referencep.7
- Design System Foundationsp.7
- Affordances and Interaction Idiomsp.7
- Product Personalityp.7
- Buttonsp.7
- Form Inputsp.7
- Cardsp.7
- Navigationp.7
- +8 more sections
- 08Navigation & Information Architecturep.8
- Self-Evident Pagesp.8
- Visual Hierarchy & Content Structurep.8
- Information Organizationp.8
- User Behavior Patternsp.8
- Persistent Navigationp.8
- Home Page & Searchp.8
- Usability Mindsetp.8
- Platform Notesp.8
- +1 more section
See all 20 parts
- 09Cognitive Load & Attentionp.9
- Working Memory & Chunkingp.9
- Decision Speedp.9
- System Responsivenessp.9
- Attention Managementp.9
- Memory & Completion Effectsp.9
- Complexity & Mental Modelsp.9
- Checklistp.9
- 10Behavioral Triggers & Engagementp.10
- Microinteraction Architecturep.10
- Feedback Designp.10
- Long Loops & Modesp.10
- The Hook Modelp.10
- Fogg Behavior Modelp.10
- Cognitive Heuristics in UIp.10
- Variable Rewardsp.10
- Investment Phasep.10
- +3 more sections
- 11Persuasion & Trust Patternsp.11
- Reciprocityp.11
- Commitment & Consistencyp.11
- Social Proofp.11
- Likingp.11
- Authorityp.11
- Scarcityp.11
- Priming & Perceptionp.11
- Persuasion & Trust Designp.11
- +2 more sections
- 12Form Design & User Inputp.12
- Target Sizingp.12
- Form Layoutp.12
- Error Prevention & Constraintsp.12
- Validation & Errorsp.12
- Input Optimizationp.12
- Checklistp.12
- 13Responsive & Adaptive Designp.13
- Mobile-First Approachp.13
- Sizing & Typographyp.13
- Touch & Interactionp.13
- Navigation Patternsp.13
- Posture-Based Designp.13
- Images & Mediap.13
- Platform Differencesp.13
- Checklistp.13
- 14Accessibility Checklistp.14
- Document Setupp.14
- Color & Contrastp.14
- Keyboard Navigationp.14
- Screen Reader Supportp.14
- Heading Hierarchyp.14
- Motion & Animationp.14
- Text & Zoomp.14
- Video & Media Accessibilityp.14
- +3 more sections
- 15Anti-Pattern Catalogp.15
- Visual Design Anti-Patternsp.15
- Typography Anti-Patternsp.15
- Color Anti-Patternsp.15
- Layout & Spacing Anti-Patternsp.15
- Navigation & IA Anti-Patternsp.15
- Behavioral Design Anti-Patternsp.15
- Form Design Anti-Patternsp.15
- Interaction Design Anti-Patternsp.15
- +4 more sections
- 16Design Direction & Visitor Modesp.16
- Quick Referencep.16
- The Four Visitor Modesp.16
- The Brief and the Incumbentp.16
- Committing to a Directionp.16
- Color Strategy Registersp.16
- The Quality Floorp.16
- Operate and Read Depthp.16
- Turning the Register Up or Downp.16
- +2 more sections
- 17Critique & Audit Methodp.17
- Quick Referencep.17
- Nielsen's Ten Heuristicsp.17
- Scoring and Severityp.17
- Persona Walkthroughp.17
- Cognitive Load Auditp.17
- Design Specificity Verdictp.17
- Technical Audit Dimensionsp.17
- Finding Formatp.17
- +1 more section
- 18Hardening, Performance & Copy Clarityp.18
- Quick Referencep.18
- Input and Gesture Hardeningp.18
- Internationalizationp.18
- Network and Error Statesp.18
- Resource Hygienep.18
- Core Web Vitals and Rendering Budgetp.18
- Advanced Rendering Techniquesp.18
- UX Copy Clarityp.18
- +2 more sections
- 19Native Platform Conventions (iOS & Android)p.19
- Quick Referencep.19
- Idiom Translation Tablep.19
- iOS Conventionsp.19
- Android Conventionsp.19
- Native Auditp.19
- Web Adaptation Techniques the Base Chapters Missp.19
- Checklistp.19
- 20Putting This Book to Work — An Automated UI/UX Review Skillp.20
- 20.1 The Idea: Design Review That Runs Itselfp.20
- 20.2 The Reviewer Agent — How It Reads This Bookp.20
- 20.3 The Trigger — When This Reviewer Runsp.20
- 20.4 The Skill That Drives It — An Automated PR Pipelinep.20
- 20.5 Operating Rulesp.20


