Skip to content

Layout & structure

IPageHeader

The title block at the top of a page: a heading, an optional description, and a right-aligned row of actions. Title and actions share a line from sm up and stack below it.

Invoices

Everything you have sent this year.

With a breadcrumb

The breadcrumb slot sits above the title.

INV-1042

Sent 2 March · due 14 March

Bordered

bordered draws a rule under the header, separating it from the content below.

Settings

Billing, members and integrations.

Heading level

The title renders as an <h1> by default. Drop it to 2 or 3 when the header sits inside a section that already has a heading above it.

Members

A section heading, not the page's.

Props

PropTypeDefaultDescription
titlestringThe heading text
descriptionstringA line under it
level1 | 2 | 31Which heading element the title renders as
borderedbooleanRule under the header
asstring'header'Element to render
unstyledbooleanDrop built-in classes
classstringMerged with the built-in classes
ui{ root?, top?, row?, heading?, title?, description?, actions? }Per-slot class overrides

Slots

SlotWhen to use it
breadcrumbAbove the title
title / descriptionEither needs markup — a badge beside the title, say
actionsThe right-aligned action row

Pair it with IContainer for the measure, inside IAppShell's main region.