Breakpoint
Specific viewport width thresholds where a responsive layout shifts its column structure, spacing, or navigation pattern
Table of Contents
Structure Diagram
What is Breakpoint?
Specific viewport width thresholds where a responsive layout shifts its column structure, spacing, or navigation pattern. It is a core concept in Layout & Responsive within UI / UX.
Core Principles
A Breakpoint is a viewport width threshold in CSS media queries (@media (min-width: ...)) where layout structure, column counts, or spacing shifts. Teams typically standardize on a concise token scale—such as Tailwind's 640px (sm), 768px (md), 1024px (lg), 1280px (xl), and 1536px (2xl).
Rather than chasing individual device dimensions, effective breakpoints are placed where content starts to feel cramped, stretched, or unreadable.
Practical Takeaways
- Let content dictate shifts: Avoid hardcoding breakpoints for specific phone models; resize the viewport smoothly and trigger layout changes where line length or card density breaks down.
- Keep the tier count small (4–5): Too many breakpoints multiply design specs and QA states. Handle intermediate widths fluidly with
fr, percentages, andclamp(). - Cap maximum reading width: Pair upper breakpoints with a container
max-width(e.g., 1280–1440px) so lines stay comfortable to scan on ultrawide monitors.
Notable Examples
- Figma-to-code parity: Aligning design artboards (375 / 768 / 1280) directly with CSS breakpoint tokens to streamline handoff.
- Catalog grid scaling: Stepping from
grid-cols-1tosm:grid-cols-2,lg:grid-cols-3, andxl:grid-cols-4across viewport tiers. - Documentation 3-column shell: Revealing the left sidebar at
mdand the right table of contents atxl.