Summary

The page header gives context to the content within the page. It is made up of a combination of the page title, avatar, metadata and related actions of the title. This is a strict pattern. Variation from the markup documented here is not supported.

Status

API status: general
Included in AUI core? Yes. You do not need to explicitly require the web resource key.
Web resource key: com.atlassian.auiplugin:aui-page-header
AMD Module key: N/A
Experimental API: 3.7
General API: 5

Examples

  1. Breadcrumbs
  2. Parent page

Page title

Code

HTML

The page header is designed to include one or more of the following elements.

  • A heading (required).
  • Breadcrumbs
  • Action buttons that should be located at the right side of the header.
  • An avatar that is located to the left.
  • A small form such as a search field.

Note:Avatar, breadcrumb navigation and Buttons are components in their own right, combined with the Page Header wrapper.

AخA
 
<header class="aui-page-header">
    <div class="aui-page-header-inner">
        <div class="aui-page-header-image">
            <span class="aui-avatar aui-avatar-large aui-avatar-project">
                <span class="aui-avatar-inner">
                    <img alt="Atlassian logo" src="images/avatar-64.png">
                </span>
            </span>
        </div>
        <div class="aui-page-header-main">
            <ol class="aui-nav aui-nav-breadcrumbs">
                <li><a href="http://example.com/">Breadcrumbs</a></li>
                <li><a href="http://example.com/" class="custom">Sub-page</a></li>
                <li class="aui-nav-selected">Direct parent page</li>
            </ol>
            <h1>A typical page header with an avatar, breadcrumbs and actions</h1>
        </div>
        <div class="aui-page-header-actions">
            <div class="aui-buttons">
                <button class="aui-button aui-button-light">Light button</button>
                <button class="aui-button aui-button-light">Light button</button>
                <button class="aui-button aui-button-light">Light button</button>
            </div>
        </div>
    </div>
</header>