CandleKeep
UI/UX Design Principles for AI Agents

UI/UX Design Principles for AI Agents

uiuxbooks-for-agentsbest-practices
Pages15
Formatmarkdown
ListedMarch 7, 2026
UpdatedApril 21, 2026
Subscribers217

About

A comprehensive reference manual for AI agents building web and mobile interfaces. 15 self-contained chapters covering visual hierarchy, typography, color systems, spacing, component patterns, navigation, cognitive load, behavioral triggers, persuasion, form design, responsive design, accessibility, and anti-patterns. Synthesized from 10 foundational UI/UX books (Refactoring UI, Don't Make Me Think, Laws of UX, 100 Things Every Designer, Hooked, Influence) into 170+ concrete, actionable rules with specific thresholds, values, and anti-patterns. Each rule uses When/Do/Values/Don't format for direct agent application.

Part of the Pro Library

Get full access to this book and 5 others with CandleKeep Pro. Preview the first 2 pages below.

Upgrade
15Chapters
522Topics
15Pages

Preview

Chapter 1: How to Use This Book

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.


What This Book Is

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.


How to Use It

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.

Each rule follows a consistent format:

### Rule: [Name]

**When:** The condition or context that triggers this rule.
**Do:** The specific action to take.
**Values:** Concrete numbers, measurements, or thresholds.
**Don't:** The anti-pattern to avoid.
  • When defines scope. A rule only applies when its condition is met.
  • Do is the directive. It uses imperative language with no hedging.
  • Values are specific. "Use 16px" not "use an appropriate size."
  • Don't is the failure mode. It describes what happens when the rule is ignored.

Conventions

Priority Levels:

  • Critical — Violating this rule causes usability failures or accessibility violations.
  • Recommended — Following this rule produces measurably better interfaces.
  • Optional — Context-dependent; apply when it fits.

Platform Notation:

  • Web — Browser-based interfaces (HTML/CSS/JS frameworks).
  • iOS — Native or hybrid iOS applications.
  • Android — Native or hybrid Android applications.
  • All — Applies to every platform.

Measurement Units:

  • Use px for absolute values in web contexts.
  • Use pt for iOS, dp for Android.
  • Conversion: 1pt = 1dp = 1px at 1x density.

Quick Lookup

If you need to...Go to
Decide element importance and layout structureChapter 3: Visual Hierarchy & Layout
Choose fonts, sizes, and text spacingChapter 4: Typography System
Build a color palette with proper contrastChapter 5: Color System
Apply spacing, shadows, and depthChapter 6: Spacing & Depth
Implement specific UI componentsChapter 7: Component Patterns
Choose between design approaches for a scenarioChapter 2: Decision Matrix
Handle responsive layout and imagesChapter 8: Responsive Design
Handle interaction states and feedbackChapter 9: Interaction & Feedback
Meet accessibility requirementsChapter 10: Accessibility
Apply platform-specific conventionsChapter 11: Platform-Specific Patterns
Optimize performance perceptionChapter 12: Performance & Perceived Speed

Key Principle

Every rule in this book is falsifiable. If a rule says "use 16px base font size," you can verify whether your implementation uses 16px. Vague guidance like "make it readable" does not appear here. When you apply a rule, you should be able to check a specific value, ratio, or structural property to confirm compliance.

Start with the chapter that matches your immediate task. Apply rules in order within each chapter — they are sequenced from foundational to specific.







Add to library to read more

Table of Contents

Add to Library

Free · Live updates included

217 readers subscribed