Framework: Grid & Spacing Rulesheet

Purpose

To standardize grids, spacing, and breakpoints so wireframes stay consistent, developer-ready, and scalable across devices (web, mobile, dashboard).


Grid System

Screen TypeGrid ColumnsGutter WidthContainer WidthNotes
Desktop (≥1440px)1224px1140pxLeave outer 150px margins for whitespace
Tablet (≥768px)820px720pxMaintain 16–20px padding on edges
Mobile (≤375px)416pxFluid (100%)Avoid >2 columns; stack content

Spacing Rules

Element TypeSpacing StandardNotes
Page Margin80px top/bottomFor desktop; reduce to 40px mobile
Section Gap64px between sectionsAlign with vertical rhythm
Component Gap24px between componentsUse multiples of 8px grid
Inside Cards/Blocks16px paddingMobile: min 12px
Button Padding12px vertical, 24px horizontalMaintain accessible tap sizes
Form Field Spacing16px between fieldsInline errors reduce to 8px

Breakpoint & Responsiveness

  • Breakpoints: Desktop ≥1440px, Laptop ≥1024px, Tablet ≥768px, Mobile ≤375px.
  • Always design desktop + mobile first wireframes, then adjust tablet.
  • Content must reflow, not shrink → e.g., 3 cards (desktop) → 2 (tablet) → 1 (mobile).

Alignment Principles

  • Align to grid columns, not arbitrary pixels.
  • Use 8px base unit for all spacing increments.
  • Center-align CTA zones when possible; left-align text blocks for readability.
  • Never mix different alignment patterns in same screen.

Usage Notes

  • Apply this framework in all wireframe drafts (Doc 3.1).
  • Designers should annotate deviations (if any).
  • Devs must implement CSS grids consistent with this model.
  • QA team validates with Spacing & Layout QA Checklist (EPIC 6).