The right-aligned action slot allows for one or more page-level actions, like Save or Export. See further guidance below in the Action Slot usage section .
An overflow should be used in certain situations when adding additional elements that will take up too much space. See further guidance below in the Action Slot usage section .
The navigation slot can be used to open and close the side navigation container as shown here. See further guidance below in the Navigation Slot usage section .
Breadcrumbs help orient a user whenever they navigate into focused views or subpages within a group. See further guidance below in the Page Title & Breadcrumbs usage section .
Note: You only need to import a web component once in your code, as it registers itself globally when defined, allowing you to use it anywhere within your application without needing to re-import it each time you want to use the component.
This component is still in development and cannot be imported at this time.
Slots
Name
Description
(default)
The page headers' content.
page-header-actions
The page headers' action region.
Properties
Please note, both DOM properties and HTML attributes are shown in the table below. Unless otherwise specified, the property and attribute names are identical.
Property/Attribute
Reflects
Type
Default
expandContentEnabled
boolean
false
backEnabled
boolean
false
sticky
boolean
true
Events
React Event
Description
Event Detail
ods-layout-drawer-show
Emitted when the side navigation expand icon is clicked.
--
ods-layout-drawer-hide
Emitted when the side navigation collapse icon is clicked.
--
ods-layout-navigate-back
Emitted when the back button is clicked.
--
Parts
Name
Description
base
The component's base wrapper.
page-header-tab-region
The component's tab region.
Usage
Page Headers are crucial to helping users understand where they are within an application at any given time, with or without a side navigation structure present. As such they should be implemented accurately and in accordance with our guidelines in all instances. Page Headers are fixed by default but can be made to scroll if absolutely needed to accommodate more page content.
Navigation Slot
The Navigation Slot is used to open and close the Side Nav container or provide a back action when in a Focused View. If your application doesn’t have a Side Nav you can skip the Side nav container pattern and use a Page Title only variation.
Do
Use the included nav drawer trigger action icon in the Page Header
Use the back arrow to navigate back up through a stack pages
Dont
Implement a different way to open/close side nav
Mix up the back and close actions from one page to the next
Page Title & Breadcrumbs
Page Titles can be used on top-level pages, but should switch to Breadcrumbs on sub pages to help keep user oriented.
Breadcrumbs help orient a user whenever they navigate into focused views or subpages within a Group. They should reflect the Side Nav hierarchy and terminology. See the breadcrumbs component for more info.
Do
Use Breadcrumbs according to guidelines
Mimic hierarchy from Side Nav
Use Page Titles on parent pages only
Dont
Implement breadcrumbs that don’t follow guidelines
Switch terms between side nav and breadcrumbs/page titles
Use Page Titles on child pages
Action Slot
The right-aligned Action Slot allows for one or more page-level actions, like Save or Export. You can use up to 2 full-size buttons, 4 Icon Buttons, and leverage an overflow menu for any additional actions as needed. There is also space for a short message.
Do
Use the Action Slot to host page-level actions like Save, End Procedure, Export, Add Group etc
Use an overflow for more than 2 button actions
Use an overflow menu for more than 4 Icon actions
Use a single Primary action plus an overflow for additional actions
Use a Secondary or Default style button for the page level action if the page action is not needed in order to advance the user. i.e., Export on an Insights page
Use the message space for page-level info like Last Updated timestamps, or procedure duration timers
Keep the message short, non-actionable info
Dont
Use action slot for actions that only relate to one part of the page content
Use an Overflow on it’s own - include at least one button
Use the message area for temporal alerts or notifications