Page header
Heads a record's page: what kind of thing it is, its name as the page's heading, one line about it, its picture and the actions on it, the same height while it loads as when it has loaded.
Examples
Portfolio manager
Maya Chen
Juniper Ridge Advisers, Boston. Manages 4 funds with $4.8B in assets.
- Gross assets
- As of the June filing
- Funds advised
- As of the June filing
Usage
Use it when
- A record's page: a fund, an adviser, a person, a booking.
- A panel that shows one record beside a list, with
headingLevel={2}.
Use something else when
- A section of a page. Use Section instead.
- The app's top bar. Use Nav instead.
- A list's title with its count and filters. Use Section instead.
Rules
General
Content
Avoid
Limits
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/page-header.jsonimport { PageHeader } from "@/components/cobalt/ui/page-header"