Back to Components

Shell

PageHeader

Page-level header with display-font title, optional eyebrow + description, and an actions slot on the right.

Examples

With actions

Library

Recently Added

Books imported in the last 7 days.

<PageHeader
  eyebrow="Library"
  title="Recently Added"
  description="Books imported in the last 7 days."
>
  {#snippet actions()}
    <Button variant="outline">Filter</Button>
    <Button>Import</Button>
  {/snippet}
</PageHeader>

Props

PropTypeDefaultDescription
titlestringDisplay-font title (responsive size).
eyebrowstringTracked uppercase label above the title.
descriptionstringMuted paragraph below the title.
stickybooleanfalseStick to the top of the scroll viewport with a frosted backdrop.
actionsSnippetRight-side action slot (typically Buttons).

Install

CLI

npx @a3tai/mittsu add page-header