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

Components

Components are the building blocks for any user interface.

Individual components can be used for various patterns and contexts. For example, the input component can be used to ask for an email address, a date or a name.

Each component has guidance on:

  • when to use it
  • how to use it
  • variations you can use
  • how to check it for errors
  • user research done on it

You are welcome to contribute a new component or a change to an existing component