Back link

Use the back link component to help users go back to the previous page in a multi-page transaction.

Name Type Default Description
id string 'id' attribute to place on the base HTML element
classBlock string Block name override in BEM style classes applied to all elements
classModifiers other BEM style modifiers to apply to the base HTML element
className string Extra classes to apply to the base HTML element
href string The location to link to
text string The text of the link
title string The title of the link

When to use this component

Always include the back link component on GOV.UK question pages.

You can include a back link on other pages within a multi-page transaction, if it makes sense to do so.

When not to use this component

Never use the back link component together with breadcrumbs. If necessary, you should do research with your users to learn which they find more helpful in your service.

How it works

Always place back links at the top of a page.

Make sure the link takes users to the previous page they were on, in the state they last saw it. Where possible, ensure it works even when JavaScript is not available.

If this is not possible, you should hide the back link when JavaScript is not available.



A standard back link.

<a class="govuk-back-link" href="#">Back</a>
<BackLink href="#" />

Custom text

A back link with customised text.

<a class="govuk-back-link" href="#">Yn ôl</a>
<BackLink href="#" text="Yn ôl" />


A back link which relies on Javascript to go back as no href propery has been provided.

<a class="govuk-back-link" href="#">Back</a>
<BackLink />