Page Header
Title, context and actions at the top of an app page.
Installation
pnpm dlx shadcn@latest add @paneui/page-headerUsage
Composition
Examples
Layout
Actions wrap under the title on narrow screens. The title is the page's h1.
PageHeader
Also accepts every prop of header.
- size= "default"
- "default" | "lg"
lgsets atext-3xltitle andtext-lglede, aligns actions with the title, and gives a direct eyebrow or description its own row.
| Prop | Type | Default | Description |
|---|---|---|---|
| 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. |