Section
Grouped page block with optional heading, description, and actions.
Top-of-page title with optional Breadcrumb trail, subtitle, actions, page Tabs, a profile Avatar and a decorative cover.
Page title block. Optional Breadcrumb trail above. Actions take kit Buttons or other controls, such as a search Input; one primary at most. Not a Breadcrumb cousin.
Title, subtitle, a Breadcrumb trail and two actions, one of them primary. Title stays required.
Campaign settings and collaborators.
Compose Breadcrumb for the path; keep one primary action. PageHeader is the title block. Path-only still belongs on Breadcrumb alone.
import { PageHeader } from "agentic-ds-kit";From contracts/pageheader.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| title | string | Yes | — | 24/32 at heading weight: the largest of three title sizes (page 24, section 18, card 14). |
| subtitle | string | node | No | — | One line under the title, 14/20 secondary. Text, or inline nodes such as a lucide icon before a short scope line ("Applies to everyone in Northwind"): a leading svg is muted, 16px and centred on the text. Renders in a p, so no blocks, lists or buttons. |
| eyebrow | string | No | — | Kept for existing call sites. Sentence case, 12/16 at weight 500, never uppercase. Breadcrumbs replace eyebrow as the default where-am-I. |
| actions | slot | No | — | Any node, laid out in a wrapping row, vertically centered on the title line (a subtitle doesn't push them down): kit Buttons, a ButtonGroup, a search Input, a Select. At most one primary Button; it stays in view on narrow screens. A kit Input here sizes to its field (not full width), so it sits beside the Buttons; set a width with its className if you want one. Below 40rem the actions move under the title, except a single button (one Button or IconButton), which stays beside it. |
| overflowActions | array | No | — | Secondary actions. When the header is wider than 40rem they render as outline neutral Buttons before actions; narrower, they fold into one ⋯ kit DropdownMenu (KitLabels moreActions) after actions, so the labelled primary stays. |
| tabs | slot | No | — | Kit Tabs, size md, line variant, for the page's views. Rendered under the title row inside the header, so a sticky header keeps them in view. |
| avatar | object | No | — | The person or organisation a profile or company page is about, rendered as kit Avatar size xl (48) beside the title and centred on the title block. circle for people, square for organisations. When name matches the title (trimmed, ignoring case) the Avatar is aria-hidden, since the h1 already names the page; otherwise its name is announced. Below 40rem it stays beside the title; under a cover it keeps its line on the cover edge and the title goes under it. |
| cover | slot | No | — | Decorative image above the title row: an img (alt=""), a picture, or a kit backdrop. PageHeader wraps it in an aria-hidden box three --space-16 tall (two below 40rem) with --radius-media-lg corners and fills it with object-fit cover. With an avatar, the Avatar overlaps the cover's bottom edge by half its height (--space-6) with a --border-width-medium ring in --surface-page. A header inside a Card shows that page-coloured ring against the card. |
| breadcrumbs | array | No | — | Same shape as Breadcrumb items. Rendered only when length >= 2. Passed through to kit Breadcrumb. When the header is narrower than 40rem, the trail shrinks to one back step to the crumb before the current page (if it has href or onClick). |
| breadcrumbSeparator | chevron | slash | No | chevron | Passed through to kit Breadcrumb separator. |
| breadcrumbMaxItems | number | No | — | Passed through to kit Breadcrumb maxItems. |
Grouped page block with optional heading, description, and actions.
Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).
Docs and catalog sidebar only: title, grouped text-only links, optional decorative icons and muted counts on group and subgroup headers only, an active page pill and optional footer links.
Product top chrome: brand mark on the start, centered kit Input search, trailing actions.