Components are reusable parts of a user interface. Using pre-built, core elements allows government teams to build consistent services.

You can also use the individual components in different patterns and contexts. For example, you can use the text input component to ask for an email address, a National Insurance number or someone’s name.

Each component in the GOV.UK Design System has guidance on its use and coded examples. If you’re using the GOV.UK Prototype Kit, or have included GOV.UK Frontend in your build, coded examples will render the same as in the Design System.

The GOV.UK Design System’s code is public and freely available under a Massachusetts Institute of Technology (MIT) license. You can find our code repositories on GitHub, where we code in the open.