Skip to content

Page Header ​

Standardises page titles across the app — breadcrumbs above, title + action buttons in a row, optional description, and a bottom divider.

Basic ​

Tailwind v4
vue
<PageHeader title="Equipment" />

With actions ​

Tailwind v4
vue
<PageHeader title="Equipment">
  <template #actions>
    <Button variant="secondary">Export</Button>
    <Button>Add Equipment</Button>
  </template>
</PageHeader>

With breadcrumbs ​

Tailwind v4
vue
<PageHeader title="Crusher #1">
  <template #breadcrumbs>
    <Breadcrumb :items="[{ label: 'Equipment', href: '/equipment' }, { label: 'Crusher #1' }]" />
  </template>
  <template #actions>
    <Button variant="secondary">Edit</Button>
  </template>
</PageHeader>

With description ​

Tailwind v4
vue
<PageHeader
  title="Shift Reports"
  description="Daily production summaries for all active shifts."
>
  <template #actions>
    <Button>New Report</Button>
  </template>
</PageHeader>

Props ​

PropTypeDefaultDescription
titlestring—Required. Page heading
descriptionstring—Optional subtitle below the title

Slots ​

SlotDescription
breadcrumbsNavigation context above the title
actionsButtons or controls aligned to the right of the title
tabsNavigation tabs below the description

Private — Jetpack Labs internal use only