PageHeader
The one h1 on a page: kicker, title and lede, with optional breadcrumbs, byline or cover.
Reflections worth sitting with.
Essays, dialogues and letters on the Faith, from the Athic team.
To Be Sorted At The Harvest
What the parable of the wheat and the weeds asks of us now.
Motherhood
A conversation about a mother, a doubt and a lighted window.
Get in touch
Why Athic exists
Independent, and honest about it.
On the Perils of Conscience and the Quiet Work of Examination
In context
To Be Sorted At The Harvest
What the parable of the wheat and the weeds asks of us now.
Props
| Prop | Type | Required | Default |
|---|---|---|---|
kicker | ReactNode | No | — |
title | ReactNode | Yes | — |
lede | ReactNode | No | — |
align | "center" | "start" | undefined | No | center |
breadcrumbs | BreadcrumbItem[] | undefined | No | — |
cover | ReactNode | No | — |
meta | ReactNode | No | — |
maxWidth | "md" | "lg" | undefined | No | md |
Accessibility
Renders a <header> with the page's <h1>. Breadcrumbs are the real Breadcrumb (a nav landmark named "Breadcrumb", the last item aria-current="page") with 44px targets. A cover is decorative and sits under a bottom scrim so the inverse title keeps contrast on any art.
data-rebar-* attributes
data-rebar-component="page-header" with data-rebar-align, data-rebar-max-width and data-rebar-cover. Parts: cover, body, kicker, title, lede, meta.
Migrating to Ant Design
Ant Design's PageHeader (title, subTitle, breadcrumb) maps to title, lede, breadcrumbs; there is no kicker, meta or cover prop.