Page header
The top of an application page: where you are, what this is, its facts and the actions you can take.
Detail page
Fit-out, floors 2–4
<header class="mn-pagehead">
<nav class="mn-breadcrumbs" aria-label="Breadcrumb"><ol><li><a href="#">Projects</a></li><li><a href="#">Harbour office</a></li><li><span aria-current="page">Fit-out</span></li></ol></nav>
<div class="mn-pagehead-row">
<div><h1 class="mn-pagehead-title">Fit-out, floors 2–4</h1>
<ul class="mn-pagehead-meta"><li><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="8" r="4"/><path d="M4 21a8 8 0 0 1 16 0"/></svg> Ilse Brandt</li><li><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M3 10h18M8 3v4M16 3v4"/></svg> Due 14 Nov 2026</li><li><span class="mn-badge mn-badge-soft mn-success">On track</span></li></ul></div>
<div class="mn-pagehead-actions"><button class="mn-btn mn-btn-outline" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 12v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7M16 6l-4-4-4 4M12 2v13"/></svg> Share</button><button class="mn-btn" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg> Add task</button></div>
</div>
</header>Installation
Everything ships in one stylesheet. There is nothing to import per component.
<link rel="stylesheet" href="https://mian.ro/dist/mian.css">Prefer to own the files? /r/page-header.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.
Class reference
| Class / attribute | Description |
|---|---|
| mn-pagehead | The header, with a rule beneath. |
| mn-pagehead-row | Title block on the left, actions on the right; wraps on narrow widths. |
| mn-pagehead-title · mn-pagehead-desc | The <h1> and one sentence under it. |
| mn-pagehead-meta | A list of facts with icons: owner, status, updated. |
| mn-pagehead-actions | Buttons. One primary at most. |
Accessibility
- The title is the page’s only <h1>.
- Breadcrumbs go in a <nav aria-label="Breadcrumb"> above the title.
- Put the primary action last in the source so it sits at the end, where people look for it.