Atlassian is standardising the header pattern across its suite of apps. To have consistent experiences with multiple products we're making the common areas of usage look and work the same every time.
Each app will have its own logo and set of specific navigation. The right side of the header is for search, administration tasks, help and the user menu.
|Included in AUI core?||Yes. You do not need to explicitly require the web resource key.|
|Web resource key:||
|AMD Module key:||N/A|
This example includes the optional Quicksearch pattern:
aui-dropdown2-trigger-arrowlessso that no right caret is displayed.
By default, the header will be initialised when the DOM content has loaded. The header can also itself be initialised asynchronously after it is inserted into the DOM. This may be useful if you cannot rely on the DOM content being loaded in time, but still need the header to be initialised.
Asynchronous initialisation of the header component is available via a separate resource.
com.atlassian.auiplugin:aui-header-async web-resource or the
Including this resource will cause each header component to be initialised either:
whichever of these two triggers happens first.
The logo pattern is:
To set the product logo, replace aui-header-logo-PRODUCTNAME with one of the following:
Or for plain text:
You must include the this class to ensure proper rendering for plain text.
For custom logos, you can either add your own class; or replace the aui-header-logo-device span with an IMG tag.