Back to components
Layout
Page Header
A reusable page header with context, description, and primary actions.
Preview
This is the same source that shadcn installs from the generated JSON.
Workspace
Build a reusable product surface
Use this header for dashboards, settings pages, and internal tools that need a clear title, short context, and primary action.
Install
After building the registry and starting the dev server, run this command in a consuming project.
install
pnpm dlx shadcn@latest add http://localhost:3000/r/page-header.jsonSource and dependencies
Confirm the source path, registry dependencies, and npm dependencies before installing.
Source path
registry/default/page-header/page-header.tsxRegistry dependencies
badgebutton
NPM dependencies
lucide-react