Page Header

Title, context and actions at the top of an app page.

Workspace · Northwind

Customers

Every workspace owner, their plan and what they pay.

Installation

pnpm dlx shadcn@latest add @paneui/page-header

Usage

Composition

Examples

Basic

Reading Page

Layout

Actions wrap under the title on narrow screens. The title is the page's h1.

API Reference

PageHeader

Also accepts every prop of header.

size= "default"
"default" | "lg"
lg sets a text-3xl title and text-lg lede, aligns actions with the title, and gives a direct eyebrow or description its own row.
PropTypeDefaultDescription
size"default" | "lg""default"lg sets a text-3xl title and text-lg lede, aligns actions with the title, and gives a direct eyebrow or description its own row.

PageHeaderTitle

text-2xl semibold, balanced wrapping. Also accepts every prop of h1.

PageHeaderEyebrow

Small line above the title, such as a breadcrumb or status. Also accepts every prop of div.