Sub topic 11
Responsive Layouts and Breakpoints
This chapter assumes you can sketch a single screen on a grid (see the grids and spacing chapter) and that you know the standard components and navigation patterns. It covers how to plan one layout so it works across phone, tablet, and desktop widths, and how to show that plan in wireframes.
Why responsive planning belongs in wireframes
A responsive layout is one design that rearranges itself to fit the width of the screen. The width at which the layout changes is a breakpoint. If you wireframe only one width, developers and visual designers must invent the other widths. Their guesses often hide content, break navigation, or push the primary action off screen.
You do not need to wireframe every possible width. You need to decide, for each screen, what changes at each breakpoint and what stays the same.
The working model
Think of a responsive screen as three parts:
- Content: the same items on every device (list, filters, heading, primary button).
- Layout rules: how many columns are available and how items span them.
- Breakpoints: the widths where the layout rules switch.
Content stays constant. Layout rules change. A good wireframe shows both the content order and the rule changes.
Choosing breakpoints
Choose breakpoints where your content needs them, not to match specific devices. Device sizes change every year. Common starting values are shown below.
| Name | Typical width | Columns | Typical gap |
|---|---|---|---|
| Small (phone) | up to 767 px | 4 | 16 px |
| Medium (tablet) | 768 to 1023 px | 8 | 16 px |
| Large (desktop) | 1024 px and up | 12 | 24 px |
Most teams wireframe three frames per key screen: one small, one medium, one large. Simple screens such as a login form may need only small and large. Dense screens such as dashboards may need a fourth, wide frame.
Mobile first versus desktop first
Mobile first means you design the smallest layout first, then add space and features as the screen grows. Desktop first starts wide and removes things.
Mobile first is usually the better default for these reasons:
- Small screens force you to rank content, which strengthens the visual hierarchy.
- It is easier to add a sidebar than to decide what to cut.
- In CSS, mobile first means the base styles are the small layout, and
min-widthmedia queries add the larger ones.
Desktop first can fit an internal tool that people only use on large monitors. State that choice in an annotation so no one assumes otherwise.
Common layout shifts
Most responsive changes follow a small set of patterns. Name the pattern in your annotation.
- Stacking: side-by-side blocks become vertical. A sidebar moves below the main content.
- Reflowing: a grid of cards goes from four across to two across to one.
- Collapsing navigation: a full top bar becomes a menu icon, or a tab bar at the bottom on phones.
- Progressive disclosure: secondary content moves behind a toggle, accordion, or separate screen on small widths.
- Resizing and cropping: images change aspect ratio or are cropped.
- Fluid versus fixed: some elements stretch with the width, while others, such as a maximum text width, stay fixed.
A worked example
The topic's sample layout uses an order-history screen. The HTML below has one source order: header, navigation, main list, filters, footer.
<body class="wf">
<header class="wf-box">Logo | Search | Account</header>
<nav class="wf-box" aria-label="Primary">Home | Orders | Support</nav>
<main class="wf-grid">
<section class="wf-main wf-box">
<h1>Order history</h1>
<ul>
<li>Order #1001 - Shipped</li>
<li>Order #1002 - Delivered</li>
</ul>
</section>
<aside class="wf-side wf-box">Filters</aside>
</main>
<footer class="wf-box">Help | Terms</footer>
</body>The CSS gives the grid its three states:
.wf-box { border: 1px solid #888; background: #f2f2f2; padding: 8px; }
.wf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wf-main, .wf-side { grid-column: 1 / -1; }
@media (min-width: 768px) {
.wf-grid { grid-template-columns: repeat(8, 1fr); }
}
@media (min-width: 1024px) {
.wf-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
.wf-main { grid-column: span 8; }
.wf-side { grid-column: span 4; }
}Read it as a set of decisions:
- Below 768 px, both blocks span the full row of 4 columns, so the filters stack under the list.
- At 768 px the grid has 8 columns, but both blocks still span the full row (
1 / -1), so the layout is still stacked. Only the available space changes. - At 1024 px the grid has 12 columns. The list takes 8, the filters take 4, and they sit side by side.
The medium frame therefore looks like the small one with wider content. That is a valid choice, but check whether the tablet layout wastes space. If so, make the filters span 3 of 8 columns and decide that explicitly in the wireframe.
Showing responsive behavior in wireframes
Use these techniques:
- Draw each key screen at each breakpoint, side by side, with the width labeled in the frame name, such as "Orders / 375" and "Orders / 1280".
- Overlay the column grid so spans are visible.
- Number content blocks the same way in every frame, so reviewers can see where each block moved.
- Annotate rules that frames cannot show, such as "Filters collapse into a button that opens a sheet below 768 px".
- Mark which elements are fixed, such as a sticky header or a maximum text width of about 70 characters.
Edge cases and common errors
- Hidden content on small screens: removing features on phones frustrates users who only own a phone. Move content behind disclosure instead of deleting it.
- Tap targets: a link that is fine for a mouse is too small for a thumb. Keep touch targets at least about 44 px (iOS) or 48 px (Android) in height.
- Long content: German words, long names, and large order counts break tight layouts. Test frames with realistic long strings.
- Tables: wide tables do not shrink. Choose a strategy: horizontal scroll, stacked cards per row, or hiding low-priority columns.
- Orientation changes: a phone turned sideways is wider than 600 px but short. Check that fixed bars do not consume the visible height.
- Between breakpoints: the layout must also work at 900 px, not only at 768 and 1024. Fluid columns and maximum widths prevent odd in-between states.
- Source order versus visual order: if CSS moves a block visually, keyboard and screen reader order still follows the HTML. Keep the two in agreement.
Checklist before review
- Every key screen has a small and a large frame.
- Breakpoints and column counts are labeled.
- Each layout shift is named in an annotation.
- Navigation behavior is defined at each width.
- Tables, images, and long text have a stated strategy.
- Touch target sizes meet platform guidance.
Exercise
In the sample CSS, the filters sit below the list at 800 px wide. A reviewer wants them beside the list at that width, using 3 of the 8 columns. Which rules change, and what should the main block span?
Show answer
Inside the @media (min-width: 768px) block, add .wf-main { grid-column: span 5; } and .wf-side { grid-column: span 3; }. The main block spans 5 of the 8 columns and the filters span 3, so both fit in one row. The two rules override the base grid-column: 1 / -1 because they appear later and apply only at 768 px and wider. The 1024 px rules still override them with spans of 8 and 4 on the 12 column grid. Update the medium wireframe and add an annotation: "Filters sit beside the list from 768 px".
Exercise
A data table with six columns must work on a 375 px phone. Name two strategies and one trade-off for each.
Show answer
One option is horizontal scrolling inside the table. It keeps all data, but users may not notice columns that are off screen. Another is turning each row into a stacked card. It is easy to read and tap, but comparing rows becomes harder and the screen gets much longer. Hiding low-priority columns is a third option. It keeps the table compact, but it removes data on small screens unless a detail view reveals it.