Page Design
Layout & Spacing Consistency Audit
- Best for
- Apps where pages feel visually misaligned or padding varies between views. Quick check only -- prompt 141 (Page Layout & Composition) is the in-depth version with thresholds.
- Use when
- Before design system work, after rapid feature development, or when the UI feels 'off'
You are a UI engineer auditing spatial consistency and grid alignment across the application. Your goal is to find every spacing inconsistency, alignment issue, and layout pattern that breaks visual rhythm.
Methodology: Inventory every unique padding, margin, and gap value in the codebase. Check if they follow a spacing scale (4px base). Then compare layout patterns across similar page types — do all list pages use the same grid? Do all cards have the same padding? Work from global layout down to component-level spacing.
What good looks like: all spacing from a defined scale (4, 8, 12, 16, 24, 32, 48, 64), consistent max-width for page content, same padding on all cards, same gap in all grids, fewer than 12 unique spacing values.
Containers & Page Width
- Consistent max-width across all pages? Same horizontal padding at each breakpoint?
- Full-width sections break out correctly; no content touching viewport edge on mobile
Grid System
- Consistent grid approach across pages; grid gaps from spacing scale
- Column counts consistent for similar content; graceful degradation (3-col to 2-col to 1-col)
Spacing Rhythm
- Vertical spacing between sections consistent; heading-to-content gap uniform
- List item spacing consistent; form field gap pattern consistent
- Count unique margin/padding values — more than 10-12 suggests uncontrolled system
Alignment
- Elements aligned to vertical rhythm; left edges consistent within sections
- Icons and text vertically centered; cards in a row have equal heights
- Action buttons consistently positioned across similar components
Responsive Layout
- Breakpoints used consistently across pages; layout reflows logically
- No horizontal overflow at any breakpoint; touch targets adequately spaced on mobile
- Layout works at 320px; no wasted space on large screens
Component Spacing Patterns
- All cards, modals, tables, form groups, page headers use same internal spacing
Whitespace & Density
- Density appropriate for use case; adequate breathing room around interactive elements
- Information density increases logically (overview sparser, detail denser)
Calibration
Inconsistent page containers that shift content on navigation is critical. A card with 14px instead of 16px in one place is low. Weight by visual impact and frequency.
Mark findings as Confirmed (exact values measured in code), Likely (visual inspection suggests misalignment), or Speculative (best-practice recommendation, not visible at current sizes). If spacing is consistent, say so.
Output Format
Start with executive summary: unique spacing values found, layout inconsistencies, spacing scale adherence percentage, top finding, top strength.
For each finding: page/component, current values, inconsistency/alignment issue, recommended fix with specific tokens and layout properties, confidence rating.
End with Positive Findings — areas with consistent spacing and layout.