# @not-govuk/page

> A fully branded page with content sandwiched between the header and footer.

Latest version **0.19.2** (published 2026-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @not-govuk/page
pnpm add @not-govuk/page
yarn add @not-govuk/page
bun add @not-govuk/page
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.19.2 |
| Published | 2026-10-07 |
| First published | 2021-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 14 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel A.C. Martin <npm@daniel-martin.co.uk> (http://daniel-martin.co.uk/) |
| Maintainers | daniel-ac-martin |
| Keywords | react-components |

## Links

- npm: https://www.npmjs.com/package/@not-govuk/page
- npm.io page: https://npm.io/package/@not-govuk/page

## Dependencies (14)

- [govuk-frontend](https://npm.io/package/govuk-frontend.md) ^6.5.1
- [@not-govuk/link](https://npm.io/package/@not-govuk/link.md) ^0.19.2
- [@not-govuk/footer](https://npm.io/package/@not-govuk/footer.md) ^0.19.2
- [@not-govuk/header](https://npm.io/package/@not-govuk/header.md) ^0.19.2
- [@not-govuk/back-link](https://npm.io/package/@not-govuk/back-link.md) ^0.19.2
- [@not-govuk/sass-base](https://npm.io/package/@not-govuk/sass-base.md) ^0.19.2
- [@not-govuk/skip-link](https://npm.io/package/@not-govuk/skip-link.md) ^0.19.2
- [@not-govuk/breadcrumbs](https://npm.io/package/@not-govuk/breadcrumbs.md) ^0.19.2
- [@not-govuk/phase-banner](https://npm.io/package/@not-govuk/phase-banner.md) ^0.19.2
- [@not-govuk/generic-header](https://npm.io/package/@not-govuk/generic-header.md) ^0.19.2
- [@not-govuk/width-container](https://npm.io/package/@not-govuk/width-container.md) ^0.19.2
- [@not-govuk/service-navigation](https://npm.io/package/@not-govuk/service-navigation.md) ^0.19.2
- [@react-foundry/component-helpers](https://npm.io/package/@react-foundry/component-helpers.md) ^0.6.2
- [@react-foundry/client-component-helpers](https://npm.io/package/@react-foundry/client-component-helpers.md) ^0.6.2

## Recent versions

- 0.19.2 (latest) — 2026-10-07
- 0.19.1 — 2026-08-15
- 0.19.0 — 2026-08-08
- 0.18.1 — 2026-04-26
- 0.18.0 — 2026-04-26
- 0.17.4 — 2026-04-09
- 0.17.3 — 2026-02-03
- 0.17.2 — 2026-02-02
- 0.17.1 — 2026-01-29
- 0.17.0 — 2026-01-29
- 0.16.3 — 2025-08-18
- 0.16.2 — 2025-05-30
- 0.16.1 — 2025-05-21
- 0.16.0 — 2025-05-11
- 0.15.14 — 2025-05-08
- … 69 more at https://npm.io/package/@not-govuk/page/versions

## README

NotGovUK - Page
===============

A fully branded page with content sandwiched between the header and footer.


Using this package
------------------

First install the package into your project:

```shell
npm install -S @not-govuk/page
```

Then use it in your code as follows:

```js
import React, { createElement as h } from 'react';
import Page from '@not-govuk/page';

export const MyComponent = props => (
  <NotGovUKPage
    breadcrumbs={[
      { href: '', text: 'Home' },
      { href: '', text: 'Passports, travel and living abroad' },
      { href: '', text: 'Travel abroad' },
    ]}
    department="home-office"
    feedbackHref="#feedback"
    footerContent={<p>Built by the <a href="https://www.gov.uk">Government Digital Service</a>.</p>}
    footerNavigation={[
      {
        title: "Services and information",
        columns: 2,
        items: [
          {
            href: "#",
            text: "Benefits"
          },
          {
            href: "#",
            text: "Births, deaths, marriages and care"
          },
          {
            href: "#",
            text: "Business and self-employed"
          },
          {
            href: "#",
            text: "Childcare and parenting"
          },
          {
            href: "#",
            text: "Citizenship and living in the UK"
          },
          {
            href: "#",
            text: "Crime, justice and the law"
          },
          {
            href: "#",
            text: "Disabled people"
          },
          {
            href: "#",
            text: "Driving and transport"
          },
          {
            href: "#",
            text: "Education and learning"
          },
          {
            href: "#",
            text: "Employing people"
          },
          {
            href: "#",
            text: "Environment and countryside"
          },
          {
            href: "#",
            text: "Housing and local services"
          },
          {
            href: "#",
            text: "Money and tax"
          },
          {
            href: "#",
            text: "Passports, travel and living abroad"
          },
          {
            href: "#",
            text: "Visas and immigration"
          },
          {
            href: "#",
            text: "Working, jobs and pensions"
          }
        ]
      },
      {
        title: "Departments and policy",
        items: [
          {
            href: "#",
            text: "How government works"
          },
          {
            href: "#",
            text: "Departments"
          },
          {
            href: "#",
            text: "Worldwide"
          },
          {
            href: "#",
            text: "Policies"
          },
          {
            href: "#",
            text: "Publications"
          },
          {
            href: "#",
            text: "Announcements"
          }
        ]
      }
    ]}
    meta={[
      {
        href: "#",
        text: "Help"
      },
      {
        href: "#",
        text: "Cookies"
      },
      {
        href: "#",
        text: "Contact"
      },
      {
        href: "#",
        text: "Terms and conditions"
      },
      {
        href: "#",
        text: "Rhestr o Wasanaethau Cymraeg"
      }
    ]}
    phase="alpha"
    navigation={[
      { href: '#one', text: 'One', active: true },
      { href: 'two', text: 'Two' },
      { href: 'three', text: 'Three' },
      { href: 'four', text: 'Four' }
    ]}
    organisationHref="#"
    phase="alpha"
    serviceName="Service name"
    serviceHref="#"
  >
    My page.
  </NotGovUKPage>
);

export default MyComponent;
```


Working on this package
-----------------------

Before working on this package you must install its dependencies using
the following command:

```shell
pnpm install
```


### Testing

```shell
npm test
```


### Building

```shell
npm run build
```


### Clean-up

```shell
npm run clean
```

---
_Source: https://npm.io/package/@not-govuk/page · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
