# Page Header

Mero UI 0.7.0 · Layout

Open a page with its title, a short description and the page’s main actions.

[Integration patterns and API reference](../llms-patterns.txt)

## Default

Use one per page, with the page’s h1. The description is a p inside the heading block. Actions sit at the end of the first row and wrap under the heading below 768 px. The layouts module uses the same class for its app pages.

Page assets

```html
<link rel="stylesheet" href="/mero.css">
<script defer src="/mero.js"></script>
```

Template

````html
<header class="mero-page-head">
  <div>
    <h1>Environments</h1>
    <p>Every customer environment and the release it runs.</p>
  </div>
  <div class="mero-page-head-actions">
    <a class="mero-button mero-button-primary" href="/components/form">New environment</a>
  </div>
</header>
````

## Record

Show where a record sits, its current status and what you can do with it.

Put Breadcrumbs first; they take the whole first row. Wrap the h1 and its status badge in mero-page-head-title so the badge follows the title and wraps with it. Keep the badge outside the h1 so the heading’s name stays the record’s name. The meta line is the p after the title row.

Page assets

```html
<link rel="stylesheet" href="/mero.css">
<script defer src="/mero.js"></script>
```

Template

````html
<header class="mero-page-head">
  <nav class="mero-breadcrumbs" aria-label="Breadcrumb">
    <ol>
      <li><a href="/components">Environments</a></li>
      <li aria-current="page">acme-production</li>
    </ol>
  </nav>
  <div>
    <div class="mero-page-head-title">
      <h1>acme-production</h1>
      <span class="mero-badge mero-badge-success">Live</span>
    </div>
    <p>Acme Corporation · Europe West · Updated 4 minutes ago</p>
  </div>
  <div class="mero-page-head-actions">
    <button class="mero-button mero-button-outline" type="button" data-mero-toast="Suspend requested">Suspend</button>
    <a class="mero-button mero-button-primary" href="/components/typed-confirmation">Deploy release</a>
  </div>
</header>
````
