Components · Layout
Page Header
StableAdded v0.0.1
The top of a page: title, description, breadcrumb and actions.
import { PageHeader } from '@nexub/react';Playground
Props
level
Projects
Everything your team is working on.
<PageHeader className="w-full" title="Projects" description={…} actions={…} level={2} />Examples
Default
With breadcrumb
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| titlerequired | React.ReactNode | — | The page title. Truncates on one line. |
| description | React.ReactNode | — | A line under the title. |
| actions | React.ReactNode | — | Buttons on the end side; they wrap under the title on narrow screens. |
| breadcrumb | React.ReactNode | — | A Breadcrumb above the title. |
| level | 1 | 2 | 3 | 1 | Heading level of the title. Use 2 or 3 when the page already has an h1. |
| eyebrow | React.ReactNode | — | 11.5: a row above the title, e.g. an EyebrowChip and status badges. |
| wash | boolean | false | 10.3: sit the header on a padded, rounded panel. Under data-expression="vivid" the panel carries a soft wash of the accent; otherwise it is a plain tonal surface. One per page. |
On iOS & Android
Web only
Page Header has no @nexub/react-native twin. On phones, follow the platform pattern instead, or compose it from the native components listed on the React Native page.