Skip to main content
Back

Account header

This pattern is archived

The account header is used for services that are part of the personal tax account.

When to use

Use this pattern if your service is part of the personal tax account.

When not to use

Do not use this pattern if your service is not part of the personal tax account. Use the GOV.UK header instead.

How it works

You need HMRC Frontend to use this pattern — find out how to install HMRC Frontend. If you use the HMRC Nunjucks macro, you must copy and paste the entire macro into your code.

The account header contains:

Example removed due to the component being removed from hmrc-frontend.

You can also use a layout designed for the account header. Change the first line of code to

{% extends "hmrc/layouts/account-header.html" %}

Research

We need more research. If you have used the account header, get in touch to share your research findings.

Discuss the account header on GitHub