PageHead
v1.0.9Updated 27 Aug 2026In-page header with title, breadcrumb, subtitle, status badge, and action buttons. Sits just below the global Topbar.
Preview
Live · 14 stories▸Why this is recommendedheaderpagetitlebreadcrumb+5
The default, out-of-the-box PageHead.
- ✓Every content page inside AppShell
- ✓Detail pages that need status chips beside the title
- ✓Headers whose subtitle must stay fully readable without a click (descriptionClamp={false})
- ✓Pages with more actions than fit, which should collapse into an overflow menu
- Breadcrumb trail above the title
- Title as ReactNode, or inline-editable via `editable` + `onTitleChange`
- Status / meta chips via `tags`
- Description with configurable clamp — `descriptionClamp` lines, or false for the whole text with no toggle
- Action cluster: an arbitrary `actions` node, or structured `actionItems` that collapse into an overflow menu past `maxVisibleActions`
- Optional `subnav` row beneath the header
- `sticky` pins the header while the page scrolls
- i18n: labels prop overrides every built-in UI string (breadcrumb/subnav aria, Show more/less, overflow + editable-title aria) — see PageHeadLabels / DEFAULT_PAGE_HEAD_LABELS
- ✕Inside dialogs / sheets (use DialogHeader / SheetHeader)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
titlePage title. Any node, so a code chip or badge can sit inline.
yesbreadcrumbTrail rendered above the title.
—tagsStatus / meta chips beside the title.
—descriptionSubtitle below the title.
—descriptionClampLines to clamp the description to before offering "Show more"; false shows it all with no toggle. Defaults to 1.
—descriptionClassNameExtra classes on the description, e.g. max-w-none to opt out of its max-w-2xl measure.
—actionsArbitrary action cluster. Children must be single-row controls — the row is vertically centred.
—actionItemsStructured actions; collapse into an overflow menu past maxVisibleActions. Preferred over `actions`.
—maxVisibleActionsHow many actionItems show before the rest collapse. Defaults to 3.
—stickyPin the header while the page scrolls.
—editableMake the title inline-editable; pair with onTitleChange.
—onTitleChangeCalled when an editable title is committed.
—subnavNav row beneath the header.
—activeSubnavIdWhich subnav item is current.
—onSubnavChangeCalled when a subnav item is chosen.
—labelsOverride any built-in UI string — breadcrumb/subnav aria, Show more/less, overflow + editable-title aria (i18n). Merged over DEFAULT_PAGE_HEAD_LABELS.
—