Application Bars is a menu bar control that is placed at the top of an application. An Application Bar is always on top of body content except or Drawers and Modals.
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
left-content-region
Content region on the left side of header used for things like logos.
right-content-region
Content region on the right side of header used for things like logos.
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
applicationTitle
application-title
string
''
variant
'small' | 'medium'
'medium'
Events
React Event
Description
Event Detail
ods-app-bar-logo-clicked
Emitted when the logo is clicked.
--
Parts
Name
Description
base
The component's base wrapper.
left-content
The container that wraps the region on the left side of header.
right-content
The container that wraps the region on the right side of header.