Skip to main content

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 bar
Live demo
Open ↗

When 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​

PropTypeRequiredDescription
breadcrumbsReact.ReactNode—
leadReact.ReactNode—Leading icon / avatar beside the title block.
eyebrowReact.ReactNode—A small kicker above the title, e.g. "Admissions · Fall 2026".
titleReact.ReactNodeYes
titleAs"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div"—The title's element. Default "h1"; use "h2" when the page already has an h1.
statusReact.ReactNode—Inline node next to the title (e.g. a status Badge).
subtitleReact.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.
bandboolean—A 4px band across the top, in the hue (or the accent without one).
metaReact.ReactNode | React.ReactNode[]—A node, or an array of meta items rendered as a wrapping row.
actionsReact.ReactNode—Free-form actions. Prefer primaryAction + moreActions, which keep the header to one primary action.
primaryActionReact.ReactNode—The page's one primary action, usually an accent Button (UI guidelines 2.1).
moreActionsMenuItemSpec[]—Every other action, as Menu items. They collapse into one "More actions" menu after the primary action.
moreLabelstring—Accessible name of the overflow menu's button. Default "More actions".
tabsReact.ReactNode—Tabs strip rendered below, separated by a rule.
dividerboolean—Add a bottom divider under the whole header.
printHiddenboolean—Leave the whole header off paper when the page is printed (sets data-print="hide"), e.g. when the printout has its own heading.