Page Header
Standardises page titles across the app — breadcrumbs above, title + action buttons in a row, optional description, and a bottom divider.
Basic
Equipment
vue
<PageHeader title="Equipment" />With actions
Equipment
vue
<PageHeader title="Equipment">
<template #actions>
<Button variant="secondary">Export</Button>
<Button>Add Equipment</Button>
</template>
</PageHeader>With breadcrumbs
Crusher #1
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
Shift Reports
Daily production summaries for all active shifts. Data updates every 15 minutes.
vue
<PageHeader
title="Shift Reports"
description="Daily production summaries for all active shifts."
>
<template #actions>
<Button>New Report</Button>
</template>
</PageHeader>Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Required. Page heading |
description | string | — | Optional subtitle below the title |
Slots
| Slot | Description |
|---|---|
breadcrumbs | Navigation context above the title |
actions | Buttons or controls aligned to the right of the title |
tabs | Navigation tabs below the description |