Skip to content
Preview

Release overview

4 of 12 cards in progress

PageHead

titlerequired
ReactNode
The page's name, inside its heading: words, or a quiet node beside them.
variant
"page" | "pane"
Default: "page"
page, the page's h1; pane, an app's head inside another app's pane (Body bold, L92).
size
"title-2" | "title-3"
Default: "title-3"
title-3, the app panel's; title-2 for a page that stands alone on a public surface.
back
ReactNode
Before the name in variant="page": a back control, at the title's line.
leading
ReactNode
Before the name in variant="pane": the app's mark, a glyph's size.
meta
ReactNode
Under the name in variant="page", quiet: a subtitle, a count, where the rows are read from.
switcher
ReactNode
At the head's end in variant="page", before the actions: a view's tabs or a segmented control.
actions
ReactNode
Controls at the head's end, after the switcher in variant="page" or centred on the title in variant="pane".
titleRef
Ref<HTMLHeadingElement>
Gives the heading a ref and its one stop for a keyboard: a route change moves focus here, and the heading draws no ring.
titleId
string
level
1 | 2 | 3 | 4 | 5 | 6
The heading rank. Default 1 for page, 2 for pane.
edge
boolean
Default: true
The head carries the page's text inset (--card-text-inset) in variant="page". false where its column already has it.
rootStyle
PageHeadStyle
Typed StyleX override: where the head sits and --page-head-px.

State machine

PreviewThe page title includes a back control and an action.

Release overview

4 cards in progress