Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Latest commit

 

History

History
44 lines (36 loc) · 1.05 KB

File metadata and controls

44 lines (36 loc) · 1.05 KB

PageHeader

Page-level header with optional breadcrumbs and tabs.

import { PageHeader } from '@atlas/ui';

Usage

<PageHeader
  :breadcrumbs="[{ href: '/', title: 'Home' }]"
  :tabs="[{ href: '/users', title: 'Users' }]"
  title="Dashboard"
>
  <template #badge>
    <Badge label="New" />
  </template>
  <template #action>
    <Button label="Edit" />
  </template>
</PageHeader>

API

Props

Prop Type Default Description
breadcrumbs Breadcrumb[] [] Items for the breadcrumb trail.
tabs Tab[] [] Optional tab navigation.
title string '' Page title text.
linkComponent string | object 'a' Component used for links.
widthClass string 'max-w-screen-2xl' Max width container class.
hideTitle boolean false Hide the title section.

Slots

  • title – replace the entire title area.
  • badge – optional badge next to the title.
  • action – action area in the header.

Events

  • None.