Cookies on ons.gov.uk

Cookies are small files stored on your device when you visit a website. We use some essential cookies to make this website work.

We would like to set additional cookies to remember your settings and understand how you use the site. This helps us to improve our services.

You have accepted all additional cookies. You have rejected all additional cookies. You can change your cookie preferences at any time.

Skip to main content

This website no longer supports your browser. You can upgrade your browser to the latest version.

BETA

This is a new service. To help us improve it, give feedback

Foundations

Overview

Foundations are the basis for creating consistent ONS products. Use them to make your product look and behave like an ONS service or website.

Layout

Create your pages using the base template and grid system.

Base page template

Use the base page template to create pages with the core components and markup required.

Grid

Use the ONS grid system to lay out the content on your service’s pages.

Style

Style your pages using the range of standard ONS colours, typography and icons.

Colours

Use the ONS colour palettes for all services so that pages and elements are consistent and familiar to users.

Typography

Use the typographic principles to establish a clear visual hierarchy and to maximise legibility.

Icons

An icon can help explain the function of an element, such as a call to action.