DetailHead
v1.0.16Updated 19 Oct 2026Header for record detail pages: title + key meta fields + status + tabs + actions. Pairs with KVList for the body.
Preview
Live · 14 stories▸Why this is recommendeddetailheaderrecordmeta+1
The default, out-of-the-box DetailHead.
- ✓Top of every record detail page
- ✓Customer / invoice / employee profiles
- Title + subtitle + status badge
- Key-value meta row
- Action button group
- Tabs slot below header
- Breadcrumb
- Client-side routing: pass `linkComponent` (next/link, React Router Link) and every row that has an href renders through the host app link component instead of a plain anchor, which would reload the whole document (fb_bf7dc63a), breadcrumb crumbs included; DetailHeadCrumb gains an event-carrying onClick so a host can preventDefault and route itself
- Avatar / icon slot
- i18n: labels prop overrides every built-in UI string (breadcrumb/edit-title/overflow aria, statusTone fallback pills) — see DetailHeadLabels / DEFAULT_DETAIL_HEAD_LABELS
- ✕List pages (use PageHead)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
titleRecord title
yesstatusStatus badge
—metaKey-value meta row
—actionsAction button group
—labelsOverride any built-in UI string — breadcrumb/edit-title/overflow aria and the statusTone fallback pills (i18n). Merged over DEFAULT_DETAIL_HEAD_LABELS.
—linkComponentThe host app link component for every breadcrumb that has an href (next/link, React Router Link). Defaults to a plain anchor, which in a routed app reloads the whole document. Crumbs carry data-slot="detail-head-crumb-link" and keep aria-current="page" on the last one. DetailHeadCrumb.onClick receives the click EVENT. MCP feedback fb_bf7dc63a.
—