Breakpoints

There are 6 breakpoints for defining styling behaviour at different screen widths.

Overview

Breakpoints are predefined values in the design system that dictate how layouts, components, and content adjust to different screen sizes and devices. They enable responsive designs, ensuring a seamless user experience whether on mobile phones, tablets, or desktops. Breakpoints act as thresholds, triggering changes in design elements like layout, spacing, typography, and visibility based on the available screen width.In the Torq design system, breakpoints follow a custom naming convention: xsa, xs, sm, md, lg, and xl, representing progressively larger screen sizes. These names align with specific pixel values (outlined in the table below) and form the foundation for responsive grids, flexible layouts, and adaptive components.

Why Breakpoints Matter

Breakpoints maintain visual harmony and usability across devices by:
  • Adjusting layouts from stacked elements on small screens to side-by-side arrangements on larger screens.
  • Resizing images, buttons, and other components to fit available space.
  • Hiding or showing specific elements to optimise content for different contexts.

Accessibility Considerations

Breakpoints ensure the design system is inclusive and functional for all users by:
  • Providing sufficient touch targets and spacing for smaller screens.
  • Ensuring text remains legible and readable at any size.
  • Supporting alternative input methods (e.g., keyboard navigation) and assistive technologies.

Example Use Cases

  1. Providing sufficient touch targets and spacing for smaller screens.
  2. Ensuring text remains legible and readable at any size.
  3. Supporting alternative input methods (e.g., keyboard navigation) and assistive technologies.
NameRange
Extra small accessible0px to 320
Extra small320px to 768
Small768px to 992
Medium992px to 1280
Large1280px to 1680
Extra large1680px+