Page header

A page header defines the top of a page. It contains a title and can be optionally combined with breadcrumbs buttons, search, and filters.

Installation

Package installation information
Installyarn add @atlaskit/page-header
SourceBitbucket.org, (opens new window)
npm@atlaskit/page-header, (opens new window)
Bundleunpkg.com, (opens new window)

Props

actions

Description

Contents of the action bar to be rendered next to the page title.

TypeReact.ReactElement<any, string | React.JSXElementConstructor<any>>

bottomBar

Description

Contents of the action bar to be rendered next to the page title. Typically a button group.

TypeReact.ReactElement<any, string | React.JSXElementConstructor<any>>

children

Description

Contents of the bottom bar to be rendered below the page title. Typically contains a search bar and/or filters.

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

disableTitleStyles

Description

Content of the page title. The text wraps by default.

Defaultfalse
Typeboolean

id

Description

Used as the ID of the inner h1 tag. This is exposed so the header text can be used as label of other elements by aria-labelledby.

Typestring

innerRef

Description

Returns the inner ref to the DOM element of the title. This is exposed so the focus can be set.

Type(element: HTMLElement) => void

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

truncateTitle

Description

Prevent the title from wrapping across lines. Avoid using this wherever possible, as truncation can make page headings inaccessible.

Defaultfalse
Typeboolean
Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License