PageHeader
The standard top of an in-app page — not a marketing hero (that's PageHero).
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
The standard top of an in-app page — not a marketing hero (that's PageHero).
Accessibility
Heading levels are semantic (h1/h2…) so the page outline is correct for assistive tech.
Install and import
npx shadcn@latest add @prism/page-header
import { PageHeader } from '@/components/prism/PageHeader';
In a no-build prototype, read it from the bundle instead: const { PageHeader } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
breadcrumbs | React.ReactNode | — | |
lead | React.ReactNode | — | Leading icon / avatar beside the title block. |
eyebrow | React.ReactNode | — | A small kicker above the title, e.g. "Admissions · Fall 2026". |
title | React.ReactNode | Yes | |
titleAs | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div" | — | The title's element. Default "h1"; use "h2" when the page already has an h1. |
status | React.ReactNode | — | Inline node next to the title (e.g. a status Badge). |
subtitle | React.ReactNode | string[] | — | A string (one paragraph), an array of strings (one paragraph each), or any nodes — rendered in a <div>, so it can hold several <p>s. |
size | "md" | "lg" | — | "lg": a larger title for long-form pages, so it stays above Prose h2s. Default "md". |
hue | "rose" | "orange" | "amber" | "green" | "teal" | "blue" | "violet" | "magenta" | — | A categorical identity: the eyebrow and lead icon take the hue. |
band | boolean | — | A 4px band across the top, in the hue (or the accent without one). |
meta | React.ReactNode | React.ReactNode[] | — | A node, or an array of meta items rendered as a wrapping row. |
actions | React.ReactNode | — | Free-form actions. Prefer primaryAction + moreActions, which keep the header to one primary action. |
primaryAction | React.ReactNode | — | The page's one primary action, usually an accent Button (UI guidelines 2.1). |
moreActions | MenuItemSpec[] | — | Every other action, as Menu items. They collapse into one "More actions" menu after the primary action. |
moreLabel | string | — | Accessible name of the overflow menu's button. Default "More actions". |
tabs | React.ReactNode | — | Tabs strip rendered below, separated by a rule. |
divider | boolean | — | Add a bottom divider under the whole header. |
printHidden | boolean | — | Leave the whole header off paper when the page is printed (sets data-print="hide"), e.g. when the printout has its own heading. |