Skip to main content

PageHeader

packages/core/components/molecules/PageHeader.js · Tier: molecule · Module: core · Rendering: Server Component

Purpose​

The standard list-page header: a filled section icon, the page <h1> and an optional subtitle paragraph.

Props​

PropTypeRequiredDefaultDescription
iconstringyes—Material Symbols name (filled).
titlestringyes—Page <h1>.
subtitlestringno—Secondary line under the title.
iconClassNamestringno'text-secondary'Icon colour classes.
classNamestringno'mb-lg'Wrapper classes (controls bottom spacing).

Composition​

  • Uses: atoms/core/Icon.
  • Used by: the list/browse organisms (events, spaces, routes, alerts, administration) as the top header.

Internationalisation​

None directly — title/subtitle supplied (localized) by the caller.

Accessibility​

Renders the single page <h1> inside a <header> landmark; the icon is decorative.

Styling & tokens​

text-h2, text-primary, text-body-md, text-on-surface-variant.

Usage​

<PageHeader icon="event" title={t.events.title} subtitle={t.events.subtitle} />

molecules/core/IconPageHeader (compact detail-page variant).