PageHeader
import { PageHeader } from '@enmovil/ui-design-system';
The title row at the top of a page, with an optional subtitle, a back link and action buttons. The title can include inline content such as badges or icons.
Properties
| Property | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
className | string | No | — | — | Extra CSS class added to the header's outer element. |
title | ReactNode | Yes | — | — | Page title — accepts ReactNode so you can include badges/icons inline. |
subtitle | ReactNode | No | — | — | Secondary text shown below the title. Nothing is shown when it is absent. |
back | ReactNode | No | — | — | Back-link slot (e.g. <a href="/projects">← Back to Projects</a>) |
actions | ReactNode | No | — | — | Right-side action buttons |
Other attributes
PageHeader passes 273 further attributes through to the underlying element. They aren't part of the supported API and may change between releases, so use only the properties listed on this page.
Events
This component has no events.
Children
PageHeader does not accept children.