GOV.UK Template
GOV.UK Template has now been replaced by the GOV.UK Design System
GOV.UK Template:
- is no longer maintained
- will only be updated for major bug fixes and security patches
- does not meet the Web Content Accessibility Guidelines (WCAG 2.1 level AA) accessibility standard
This framework will remain available in case you’re currently using it. To help your service meet accessibility requirements, you should use the GOV.UK Design System. You can migrate to the Design System from GOV.UK Template.
Examples
These are a collection of auto-generated examples of the current govuk_template release showing how you can use the template.
-
GOV.UK standard header
The standard header as used on information pages on GOV.UK. -
GOV.UK standard header – with service title
If your service is more than a few pages long, you can help users understand where they are by adding the service title. -
GOV.UK standard header – with propositional navigation
If you need to include basic navigation, contact or account management links. -
GOV.UK standard header – with propositional link
If you need to include a single navigation link.
Downloads
You can get a development version of the template from github.com/alphagov/govuk_template.
View the changelog to find out what has changed in version 0.26.0.
Download compiled versions of the govuk_template (v0.26.0):
For Rails projects govuk_template is pushed to rubygems.
For Node.js projects, govuk_template is available on npm as a Mustache template or an EmbeddedJavaScript template.