Eidetic

Page Header

Layout
Block

Consistent page headers with breadcrumbs, titles, descriptions, and action buttons.

Preview

Full page header with all features

Project Dashboard

Pro

Manage your projects and team members in one place.

Simple Header

Basic header with title only

Settings

With Description

Header with title and description

Team Members

Invite and manage your team members and their account permissions here.

With Badge

Header with status badge

API Documentation

Beta

Reference documentation for the REST API.

Compact Header

Smaller header for secondary pages

Profile

Edit Profile

Update your personal information

PageHeader Props

PageHeader API reference

PropTypeDefaultDescription
title*stringPage title
descriptionstringOptional description text
breadcrumbsBreadcrumbItem[]Navigation breadcrumb trail
actionsPageHeaderAction[]Action buttons
badgestringStatus badge text
badgeVariantBadgeVariant'default'Badge color variant
childrenReactNodeAdditional content below header
classNamestringAdditional CSS classes

CompactPageHeader Props

CompactPageHeader API reference

PropTypeDefaultDescription
title*stringPage title
subtitlestringOptional subtitle text
backHrefstringBack navigation link
backLabelstring'Back'Back link label
actionsReactNodeAction buttons/content
classNamestringAdditional CSS classes

Types

Supporting type definitions

interface BreadcrumbItem {
label: string
href?: string // If omitted, renders as current page
}
interface PageHeaderAction {
label: string
onClick?: () => void
variant?: 'primary' | 'secondary' | 'inverse' | 'ghost'
icon?: React.ReactNode
}

Usage

Import and implementation examples

import { PageHeader, CompactPageHeader } from '@/blocks/data-display/page-header'
// Full page header
<PageHeader
title="Dashboard"
description="Overview of your account"
breadcrumbs={[
{ label: 'Home', href: '/' },
{ label: 'Dashboard' },
]}
actions={[
{ label: 'Export', variant: 'inverse' },
{ label: 'Create New', variant: 'primary' },
]}
badge="New"
badgeVariant="success"
/>
// Simple header
<PageHeader title="Settings" />
// Compact header with back button
<CompactPageHeader
title="Edit User"
subtitle="Modify user details"
backHref="/users"
backLabel="Users"
actions={<Button>Save</Button>}
/>

Built With

2 components

This block uses the following UI components from the design system:

Features

Built-in functionality

  • Breadcrumb navigation: Show page hierarchy with links
  • Action buttons: Primary and secondary actions
  • Status badges: Show page or feature status
  • Compact variant: Smaller header for sub-pages
  • Back navigation: Quick return to parent page
  • Responsive layout: Adapts to screen size
  • Dark mode: Full dark mode support

Accessibility

Accessibility considerations

ARIA Attributes

Breadcrumb navigation has proper nav and aria-labelPage title uses semantic h1 headingLinks have meaningful text

Keyboard Navigation

KeyAction
TabNavigate between breadcrumbs and action buttons
EnterActivate links and buttons

Notes

  • Only one h1 per page for proper document structure
  • Breadcrumb current page is not a link
  • Action buttons have descriptive labels

Related Components