Packaging of a template containing the GOV.UK header and footer, and associated assets.
Ruby CSS HTML JavaScript Shell Python
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs Fix relative URL May 11, 2018
spec Upgrade insecure links to https Nov 28, 2017
.travis.yml Release 0.24.1 Jun 22, 2018
LICENCE.txt Add deprecation notice to readme Jul 31, 2018

The GOV.UK Design System launched on 22 June 2018

The Government Digital Service (GDS) is retiring GOV.UK Template following the launch of the GOV.UK Design System. GOV.UK Template will remain available to you if you are currently using it but will no longer be maintained. GDS will only roll out major bug fixes and security patches.

For new projects, you can get all of the information about GOV.UK styles, components and patterns as well as the template in the GOV.UK Design System.

GOV.UK Template

This provides a template containing the GOV.UK header and footer, and associated assets. It provides a consistent GOV.UK brand experience across and all services running under the domain.

The template is built from source files, and multiple packages are generated to support different languages and frameworks.

Packages are available for RubyGems, NPM (mustache, ejs, jinja), and other templating languages.

Previewing the template

You can view a collection of auto-generated examples of the current govuk_template release, which show how you can use the template.


The Ruby language (1.9.3+), the build tool Rake & the dependancy management tool Bundler

Detailed Docs



Please follow the contribution guidelines.

This is versioned following Semantic Versioning.