# Page Header

> Source: https://design.nanatec.co.ke/components/page-header/
> The top of a page: a breadcrumb, the title with a line about it, and the page's actions in one row.

Start every page of an app with a page header, so the title, where the page sits and what
can be done on it are always in the same place. On a wide screen the actions sit to the
right of the title; on a phone they move under it.

## Preview

## Installation

Give the header a `heading` and, if it helps, a `description`. Put a breadcrumb in the
`breadcrumb` slot and buttons in the `actions` slot. Anything else, such as tabs or
filters, goes in the default slot under the title row.

```html
<nana-page-header heading="Claims" description="Every claim filed this month.">
  <nana-breadcrumb slot="breadcrumb">…</nana-breadcrumb>
  <nana-button slot="actions">New claim</nana-button>
  <nana-tab-group>…</nana-tab-group>
</nana-page-header>
```

For a title with markup, such as a reference number in bold, use the `heading` slot
instead of the property. The `description` slot works the same way.

`heading` is required; it and `description` take text or a snippet. `level` is 1, 2 or 3.
`divider` draws the line underneath. `breadcrumb` and `actions` are snippets, and children
render under the title row.
