Skip to main content
  1. X-GOVUK projects
  2. GOV.UK Components
  3. Footer

Footer

The footer provides copyright, licensing and other information about your service and department.

When no arguments are provided, a bare footer is generated.

Input

Output

You can also include links to meta information about a site, such as cookies and contact details in the footer:

Input

Output

If you need greater control of the meta links you can provide them as an array of hashes with the keys text:, href: and attr: where attr is a hash of HTML attributes.

Input

Output

The meta_html slot allows any custom HTML to be placed above the licence information. Use the govuk_footer_link_to helper to build footer links.

Input

Output

The meta slot overwrites the entire meta area of the footer.

Input

Output

Input

Output

Input

Output