We use a grid to structure our designs and create consistent spacing. It gives us a flexible way to layout components that adapts to different device sizes.
The grid has 12 columns. The widths of the columns change with the size of the device.
Gutters are the gaps between the columns.
- fixed to 32px for browser widths above 1300px
- fixed to 16px for browser widths below 1300px
Grid margins make sure there is always white space around the content. The grid margins are 16px wide.
Components and content can be laid out across as many grid columns as needed.
Fixed width grid
The fixed width grid has a container around it that keeps the maximum size centred in the browser at 1440px.
Full width grid
The full width grid allows the content to stretch right to the edges of the browser. This is useful when you’re creating detailed applications that might need to use the whole screen.
|Min width||Breakpoint||Columns||Fixed width grid||Full width grid|
Tablet and mobile grid
With a browser under 600px, the number of columns drops from 12 to 6. With a browser under 414px, the number of columns drops to 2 columns.
Content on the page does not always have to span 12 columns. Components can be centred within a specified amount of columns.
Content can also be offset by a specified amount of columns. Offset can be changed or removed at different device sizes.
Reversing the order of components on different sizes of device
Components can be re-ordered to change the prominence of content across different device sizes.
Changelog for this page
|14 April 2021||First version of page published|