Skip to content

PageHeader

PageHeader

<PageHeader
breadcrumb={
<Breadcrumbs>
<Breadcrumb href="/">Home</Breadcrumb>
<Breadcrumb>Dashboard</Breadcrumb>
</Breadcrumbs>
}
title="Dashboard"
description="What happened today across your team."
actions={<>
<Button variant="outline" tone="neutral">Export</Button>
<Button>New report</Button>
</>}
/>

Install: @helixui/core

import { PageHeader } from '@helixui/core'

status: stable · since: 0.2.0

Tags: title, breadcrumb, actions, page-top

Anatomy

Breadcrumb › path
Title [ Action ] [ ⋮ ]
Description

Layout

  • displayblock
  • widthfill
  • heightcontent
  • intrinsicSizefills width, hugs content
  • stackablefalse
  • fullBleedfalse

Visual

A header block at the top of a page: optional breadcrumb above, large heading + description on the left, right-aligned actions.

Props

NameTypeDefaultDescription
breadcrumbReactNodeOptional row above the title — typically <Breadcrumbs>.
titleReactNodePage heading. Rendered as <h1>.
descriptionReactNodeLead paragraph below the title.
actionsReactNodeRight-aligned action group — primary buttons, IconButtons.
borderedbooleanfalseAdds a bottom border + spacing to separate from page content.

Tokens used

color.text.primary, color.text.secondary, color.border.default, font.family.sans, font.size.md, font.size.sm, font.size.2xl, font.weight.semibold, font.lineHeight.tight, space.1, space.2, space.3, space.4, space.6

Accessibility

Notes

  • Renders <h1> so there’s exactly one per page. Use a different heading inside actions if needed.

Composes with

ComponentRelationNote
AppShellchildCommon first child of the AppShell main area.
BreadcrumbslotGoes in the breadcrumb slot.
ButtonchildRight-aligned actions.

Prompt examples

These are the AI prompt → JSX mappings used by the helixui prompt DSL and integrations like Cursor / Claude Code.

page title with action

“page header for Users with a New user button”

<PageHeader
title="Users"
description="Manage who can access this workspace."
actions={<Button>New user</Button>}
/>