Account header
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:
- the GOV.UK cookie banner, with a link to HMRC cookie policy
- the GOV.UK header
- the account menu
- the Welsh language toggle, if your service is available in Welsh
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.