Page header API
Import
Section titled “Import”import { UNSTABLE_PageHeader } from '@cimpress-ui/react';Accessibility notes
Section titled “Accessibility notes”The page header renders the page title as an <h1>. Use one page header for the primary content of a page, and make sure the required title clearly identifies that page.
API reference
Section titled “API reference”UNSTABLE_PageHeader
Section titled “UNSTABLE_PageHeader”- Ref<HTMLElement>
The
reftype for this component.
UNSTABLE_PageHeaderProps
- string
title *
Section titled “title * ” The title describing the page. Rendered as an
<h1>element.- ReactNode
breadcrumbs
Section titled “breadcrumbs” Optional navigation breadcrumbs displayed above the title.
- ReactNode
actions
Section titled “actions” Optional action buttons or controls displayed to the right of the title.
- ReactNode
description
Section titled “description” Optional row beneath the title for metadata or a short description. Automatically styled as subtle when a string is provided.
- ReactNode
Optional tabs displayed below the header content.
- boolean | 'full-width'
hasDivider
Section titled “hasDivider” Displays a divider below the header. Use
"full-width"to span the full page width.- UNSTABLE_PageWidth
Overrides the maximum width inherited from the enclosing
Page.- string
The element's unique identifier. See MDN.
- boolean
data-cim-style-root
Section titled “data-cim-style-root” Use this attribute to "claim" the component tree for exclusive Cimpress UI usage.
- string
UNSAFE_className
Section titled “UNSAFE_className” Sets the CSS className for the element. Only use as a last resort. Use style props instead.
See styling guide.
- CSSProperties
UNSAFE_style
Section titled “UNSAFE_style” Sets the CSS style for the element. Only use as a last resort. Use style props instead.
See styling guide.