Application Bar

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.

import '@ods/components/web.application-bar';

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.

Slots

NameDescription
left-content-regionContent region on the left side of header used for things like logos.
right-content-regionContent 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/AttributeReflectsTypeDefault
applicationTitle
application-title
string''
variant
'small' | 'medium''medium'

Events

React EventDescriptionEvent Detail
ods-app-bar-logo-clickedEmitted when the logo is clicked.--

Parts

NameDescription
baseThe component's base wrapper.
left-contentThe container that wraps the region on the left side of header.
right-contentThe container that wraps the region on the right side of header.

Search