The Angular AppBar, also known as an action bar or nav bar, displays information and actions related to the current application screen. It is used to show branding, screen titles, navigation, and actions. The component supports height modes, color modes, positioning, and more.
Display the AppBar with predefined sizes: normal, long, or short. The size of an AppBar can be changed using the regular, prominent, and dense properties.
The AppBar has predefined background colors for different visual representations: light, dark, primary, and inherit.
A row of content can be aligned horizontally at the top or bottom of the AppBar.
The Angular AppBar component aligns the content using a spacer and separator.
The AppBar layout will adjust automatically to the current screen size.
A separator is a vertical line that visually separates or groups items in an AppBar.
Developers can control the appearance and behaviors of the AppBar using a rich set of APIs.
The Angular AppBar component supports built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.
Easily get started with the Angular AppBar using a few simple lines of HTML and TS code, as demonstrated below. Also, explore our Angular AppBar example, which shows how to render and configure an AppBar in Angular.
<div class="control-section">
<ejs-appbar colorMode="Primary">
<button ejs-button cssClass="e-inherit" iconCss="e-icons e-menu"></button>
<span class="regular" style="margin:0 5px">Angular AppBar</span>
<div class="e-appbar-spacer"></div>
<button ejs-button cssClass="e-inherit">FREE TRIAL</button>
</ejs-appbar>
</div>
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'ej2-appbar-container',
templateUrl: 'default.html'
})
export class DefaultComponent implements OnInit {
ngOnInit(): void {}
}
The AppBar component is also available in the Blazor, React, Vue, and JavaScript frameworks. Check out the component on other platforms using these links:
You can find our Angular AppBar demo, which demonstrates how to render and configure the AppBar.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.