Artificial Intelligence & Data Science is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Wireframes

Wireframes are low-detail visual blueprints of a user interface that show structure, layout and content priority before visual design and development.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Wireframes are used by engineers to communicate and record the structure and behaviour of a UI before coding. They reduce wasted development effort by clarifying layout, content placement and interaction flow, and act as a reference for front-end implementation and usability testing.

Key ideas

Start with definitions (each term is defined before it is used):

  • Wireframe — a simplified visual representation of a user interface that shows the arrangement of elements (content blocks, controls, navigation) and the layout hierarchy without final graphic design (colour, detailed typography, or final images). Assumes function over aesthetics: the goal is to specify structure and behaviour, not final look.

  • Low-fidelity wireframe — a wireframe that uses simple shapes, placeholders and minimal detail (often hand-drawn or basic digital sketches). Assumes rapid iteration and early-stage idea validation.

  • Medium-fidelity wireframe — a wireframe that adds layout precision, consistent spacing and clearer labelling of UI elements; may use greyscale and common type sizes to convey hierarchy.

  • High-fidelity wireframe — a near-detailed schematic that closely matches final spacing and proportions; may include real copy, precise alignment, and hints of interaction. Not a final visual design but precise enough for handoff to developers.

  • Skeleton — another word for a wireframe that emphasises the bare-bones structure (used interchangeably with wireframe in many teams).

  • Layout grid — a systematic set of columns, rows and gutters that constrain the placement of UI elements. Assumes a rectangular container (viewport) and consistent spacing rules for rhythm and alignment.

  • Annotation — textual notes attached to wireframe elements explaining behaviour, constraints, or interactions for developers and testers.

  • Interaction notes — concise descriptions (or links to prototypes) that explain what happens when a user taps/clicks an element (states, transitions, error handling).

  • Breakpoint — a viewport width or device condition where the layout should change to adapt to a different screen. Wireframes should indicate breakpoints when designing responsive layouts.

Wireframe purposes and assumptions (exact statement):

  • A wireframe defines information hierarchy and user goals on a screen while intentionally omitting final visual design. Assumes content and functionality list are stable enough to place blocks.
  • Wireframes function as communication artefacts between designers, engineers and stakeholders and as a base for prototypes and usability testing.

Types and fidelity (exact classification):

  1. Low-fidelity: quick, cheap, good for brainstorming and early feedback. Assumes many changes will occur.
  2. Medium-fidelity: balanced; useful for stakeholder reviews and early developer estimates.
  3. High-fidelity: precise layout for handoff; assumes content is near-final.

Wireframe components to specify (for exams you should list and define):

  • Header and navigation
  • Content area: primary and secondary content blocks
  • CTA (Call to Action) placement and priority
  • Forms and inputs (labels, placeholders, validation notes)
  • Footers and utility links
  • Empty states and error states (brief annotation)
  • Responsive states and breakpoints

Documenting interaction and constraints: always include annotations that state

  • Trigger (what user action starts behaviour),
  • Response (what system does), and
  • Visual/temporal constraints (animations, timing) and states (default, hover, focus, disabled) and loading/empty/error conditions if relevant.

What to draw in an exam diagram (how to present a wireframe on an answer sheet):

  • Draw a rectangle labelled "viewport" with a width (e.g., 1366 px or "desktop") and height estimate.
  • Inside, draw a top bar labelled "Header: logo (L), navigation (N), search (S)" using simple boxes and text labels.
  • Draw main content area divided into columns using vertical lines; label columns C1..Cn and gutters G.
  • Indicate primary CTA with a shaded box and label "Primary CTA" and secondary actions with outlines.
  • Add annotation callouts (numbered) with short notes like "(1) CTA opens checkout modal — see interaction note 1".

Derivation universities commonly ask for: grid math for column width (see Formulas). When asked, step through container width, gutters and columns and compute column width.

When to use each fidelity: state a rule of thumb (exact):

  • Use low-fidelity in ideation; medium-fidelity for stakeholder alignment and early developer scoping; high-fidelity for handoff and usability validation where pixel-approximate spacing matters.

Relation to other topics: wireframes feed into Prototyping and Usability testing and should be informed by User research and personas. They are an output of Ideation and paper prototyping and an input to UI design tools and design documentation.

Formulas

column_width = (container_width - (num_columns - 1) * gutter_width) / num_columns

  • column_width: width of one grid column (px or % of container), container_width: total inner width (px), num_columns: integer count of columns, gutter_width: space between columns (px). Use when designing column grids.

element_aspect_ratio = element_width / element_height

  • element_aspect_ratio: unitless ratio; element_width and element_height given in px. Use to keep image/video placeholders consistent.

percentage_width = (element_px_width / container_px_width) * 100 %

  • percentage_width: percent of container width (useful for responsive rules); element_px_width and container_px_width in px.

Notes on units: UI designers normally use pixels (px) or percentages (%). These are not SI units but are standard in screens; indicate units clearly in answers. If your exam insists on SI, state "px (screen units)" and explain.

Worked examples

Example 1 — Grid math (numerical) Question: You design a desktop container of 1200 px width. You want 12 columns with a 20 px gutter between columns. Calculate the column width. Steps:

  1. Write formula: column_width = (container_width - (num_columns - 1) * gutter_width) / num_columns.
  2. Substitute: container_width = 1200 px, num_columns = 12, gutter_width = 20 px.
  3. Compute total gutters: (12 - 1) * 20 px = 11 * 20 px = 220 px.
  4. Compute remaining width: 1200 px - 220 px = 980 px.
  5. Column width = 980 px / 12 = 81.666... px.
  6. If rounding is required, note that 81.67 px × 12 + 11 × 20 px = 1200 px exactly; rounding columns to 82 px would exceed the container (12 × 82 + 11 × 20 = 1204 px). Either keep sub-pixel column widths (CSS supports them) or adjust gutters/container to maintain the exact total. Answer: Column width ≈ 81.67 px. If rounding, adjust gutters/container to keep the total 1200 px, or use sub-pixel widths in CSS.

Example 2 — Creating a wireframe for an e-commerce product page (exam long-answer model) Question: Write steps and a labelled sketch plan to wireframe a product detail page (PDP). Model answer steps:

  1. Define content and function: product image, title, price, description, add-to-cart, quantity, ratings, related products, breadcrumb, reviews, seller info.
  2. Choose fidelity: medium-fidelity for stakeholder review.
  3. Draw viewport rectangle labelled "Desktop (1200 px)".
  4. Top bar: logo left, search centre, account/cart right — draw three boxes and label.
  5. Main area: two-column grid: left column 60% for large product image, right column 40% for title, price, variant selector, quantity, add-to-cart (primary CTA), wishlist (secondary). Use boxes and label.
  6. Below main area: tabbed content for description, reviews — draw rectangles and label tabs.
  7. Footer: small links and policies.
  8. Annotations: mark (A) "Add-to-cart triggers mini-cart flyout"; (B) "Quantity validation: max 10 per order"; (C) "Image gallery: thumbnails click to swap main image".
  9. Specify responsive breakpoints: at 768 px switch to single-column with CTA pinned at bottom.
  10. Present interaction notes for each annotated item. A full-marks answer draws the layout, labels each block, lists content, gives interaction notes and responsive breakpoint behaviour.

Example 3 — Iteration based on usability test (short model answer) Question: A medium-fidelity wireframe shows 'Add-to-cart' below the fold on mobile. Usability test shows users miss it. How to revise? Model answer:

  1. Observation: CTA below fold -> low discoverability.
  2. Revision: move primary CTA above the fold or pin a sticky footer CTA on mobile.
  3. Update wireframe: draw mobile rectangle, show product image, title, price, then a full-width sticky CTA at bottom labelled "Add to cart (pinned)".
  4. Annotation: "Sticky CTA visible after scrolling; ensure 1-row height; accessible hit target ~44 CSS px (iOS 44 pt) or 48 dp (Android)." (Note: specify device hit-target guideline if known.)
  5. Re-test to confirm improved conversion.

Common mistakes

  • Ignoring responsive states and breakpoints — only drawing desktop wireframe.
  • Using inconsistent spacing and not following a grid — causes implementation ambiguity.
  • Over-detailing low-fidelity wireframes (adds time) or under-detailing high-fidelity wireframes (misses handoff needs).
  • Not defining units (px or %) in layout math answers.

For your exam

Kinds of questions:

  • Definitions and differences (define wireframe, list fidelities, pros/cons).
  • Short notes (components of a wireframe, role of annotations, how wireframes fit into UX process).
  • Derivations and calculations (grid column width math, percentage widths, aspect ratios).
  • Diagram tasks (draw a wireframe for a given page and label it; show responsive breakpoint changes).
  • Long-answer: plan and justify wireframe decisions for a given user goal or persona. What a full-marks answer includes:
  • Clear definition of key terms (wireframe, fidelity levels, layout grid).
  • A labelled sketch (if required) drawn to a stated viewport width and with grid/gutter indicated.
  • Annotations explaining behaviour and constraints.
  • For numeric parts: show formulas, substitute numbers, show intermediate steps and final rounded values with units.
  • Reference to related UX activities (user research, prototyping, usability testing) to justify choices.

Quick check

  1. What is the main difference between a low-fidelity and a high-fidelity wireframe?
  2. Using the grid formula, what is the column width for a 960 px container, 8 columns and 24 px gutter?
  3. List three items that must appear in wireframe annotations. Answers: 1. Low-fidelity is simple/quick with placeholders and minimal detail; high-fidelity is precise and close to final layout. 2. Column width = (960 - (8-1)*24)/8 = (960 - 168)/8 = 792/8 = 99 px. 3. Trigger (user action), Response (system behaviour), Constraints/notes (validation, breakpoints).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?