Responsive breakpoints: device-based vs content-based approaches compared
Breakpoints are the screen widths where a layout changes. How you choose them shapes how well a design holds up across the huge variety of real screens.
Device-based breakpoints
- Set at widths matching common device categories: phone, tablet, laptop, desktop.
- Easy to communicate and plan for.
- Risk: devices constantly change, and layouts can break at widths between your chosen points.
Content-based breakpoints
- Start with the smallest layout and widen the browser until the design starts to look wrong, such as lines becoming too long or cards stretching awkwardly. Add a breakpoint there.
- Produces layouts that respond to the content's needs.
- Can lead to many slightly arbitrary breakpoints if not managed.
Common hybrid approach
- A small set of standard breakpoints defined in the design system for consistency.
- Fluid layouts between them using flexible grids, percentage widths and min/max constraints.
- Local adjustments where specific components need them.
Modern tools that reduce breakpoint dependence
- Container queries: components respond to the size of their container, not the viewport, which suits reusable components.
- Fluid typography and spacing using clamp-style functions.
- Intrinsic layouts with auto-fitting grids.
Design files. Designing at least the smallest, a middle and a large size tends to reveal problems early.
How many breakpoints does your system use? Have container queries changed how you design components?
Comments · 2
Content-based, every time. Look where the layout starts to look stretched or cramped and put a breakpoint there.
Container queries have made this easier. A component can adapt to its own space instead of the whole viewport.