# Page header API

> Explore the API of Cimpress UI's page header component.

Source: https://ui.cimpress.io/components/page-header/api/

## Import

```tsx
import { UNSTABLE_PageHeader } from '@cimpress-ui/react';
```

## Accessibility notes

The page header renders the page title as an `<h1>`. Use one page header for the primary content of a page, and make sure the required `title` clearly identifies that page.

## API reference

### UNSTABLE_PageHeader

- `ref`: `Ref<HTMLElement>`

  The `ref` type for this component.

**Props: `UNSTABLE_PageHeaderProps`**

- `title` (required): `string`

  The title describing the page. Rendered as an `<h1>` element.

- `breadcrumbs`: `ReactNode`

  Optional navigation breadcrumbs displayed above the title.

- `actions`: `ReactNode`

  Optional action buttons or controls displayed to the right of the title.

- `description`: `ReactNode`

  Optional row beneath the title for metadata or a short description. Automatically styled as subtle when a string is provided.

- `tabs`: `ReactNode`

  Optional tabs displayed below the header content.

- `hasDivider`: `boolean | 'full-width'`

  Displays a divider below the header. Use `"full-width"` to span the full page width.

- `width`: `UNSTABLE_PageWidth`

  Overrides the maximum width inherited from the enclosing `Page`.

- `id`: `string`

  The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).

- `data-cim-style-root`: `boolean`

  Use this attribute to "claim" the component tree for exclusive Cimpress UI usage.

- `UNSAFE_className`: `string`

  Sets the CSS className for the element. Only use as a **last resort**. Use style props instead.

  See [styling guide](https://ui.cimpress.io/dev-guides/styling/).

- `UNSAFE_style`: `CSSProperties`

  Sets the CSS style for the element. Only use as a **last resort**. Use style props instead.

  See [styling guide](https://ui.cimpress.io/dev-guides/styling/).
