Layout

A layout is a structural template that supports consistency across products by defining visual grids, columns and sections. It allows us to follow the same structure and scaffolding across our products.

Before selecting a layout, review these guidelines:

  • Know your use case. Understand how the information on the page will be used.
  • Prioritize your content. Organize your content to highlight the most important information.
  • Group related content together. Make it efficient for users to work with the content.

Grid

Grids provide a foundation to positioning elements consistently across different device sizes and help to arrange content into structured propositions. Without a grid, layouts would create unpredictable experiences and feel unordered.

By default, we use the industry standard of a 12 Column grid. As the viewports decrease in size, a 12 Column grid is easily dividable into an 8 and 4 column grid. We can organise content sections into evenly spaced vertical columns and divide the given area into half, thirds, fourths, sixths.

12 Column grid

Breakpoints

A breakpoint defines a set of screen sizes with distinct layout needs, where the design adapts to fit the screen size and orientation within that range. We have worked with our developer team to come up with the list below that we work to - they don't cater to every possible device or use case. Rather, they serve as a reliable and uniform starting point that can be used for most devices.

Our standard breakpoint sizes

BreakpointTokenViewport (px)Container
offset (px)
Gutters
(px)
xs (Extra Small)breakpoints-xs<572px1616
sm (Small)breakpoints-sm572 – 831px1616
md (Medium)breakpoints-md832 – 991px1632
lg (Large)breakpoints-lg992 – 1171px1632
xl (Extra Large)breakpoints-xl1172 – 1439px1632
xxl (Extra, ex Largebreakpoints-xxl1140px +1632

Containers

Containers form an essential element of our standard layouts as they hold, cushion, and arrange the content to fit within a specific device or viewport.

Depending on the requirement of the product we may need to create more complex layouts that require nested containers. For example, we might use a large container to hold the main content of a page and then use nested containers to hold smaller sections of content within that main container.

Our containers have a mandatory 16px padding on each edge that creates a minimum space between content and the browser.

Our standard container sizes

containers example

A visual of our container sizing.