Page Header
Overview
Usage
Examples
API
<rhombus-page-header> is a leaf composite for the top of a page: a required title with an optional badge and description, plus a projected [slot=actions] region. The badge composes [rhombusChip] and every colour is sourced from the token contract, so it tracks the active theme.
Example
Posts
Manage your drafts, scheduled posts, and published articles.
When to use
- Use it once at the top of a routed view to introduce the page and anchor its primary actions.
- Pass
badgefor a short status pill (“New”, “Beta”) and project buttons intoslot="actions"for the page's primary actions.
When not to use
- For the persistent application frame around the page — sidebar, top bar, content region — use the App Shell instead; the page header lives inside its content area.
- For a trail of ancestor links above the title, use Breadcrumbs.
- When the body has no content to introduce yet, reach for an Empty State rather than a bare header.
Related components
- App Shell — the frame the header sits within.
- Breadcrumbs — ancestor navigation above the title.
- Button — the controls you project into
slot="actions". - Chip — the directive the badge composes.
Was this page helpful?