The Angular Menu Bar is a graphical user interface component that serves as a navigation header for your web application or site. It supports data binding, templates, icons, multilevel nesting, and horizontal and vertical menus.
Menu in Angular can be bound to data in the form of JavaScript object array collection. It supports self-referential or hierarchical structure of data.
Users tend to perceive visual information better than text. Include icons or sprite images to the menu items easily to provide a visual representation of the actions.
Angular Menu Bar templates is used to create custom user experience. It provides template for each menu item to customize the entire Menu UI.
Angular Menu supports its alignment in either vertical or horizontal orientation.
Menu supports multi-level nested items. You can browse the sub-menu by hovering or clicking a parent item.
Angular Menu can be used with other components. Adding a menu to other components only requires simple configuration.
Angular Menu supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
Easily get started with the Angular Menu Bar using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular Menu Bar Example that shows you how to render and configure a Menu Bar in Angular.
<div id="defaultSample" class="control-section">
<div class="menu-control">
<ejs-menu [items]='menuItems'></ejs-menu>
</div>
</div>
import { Component } from '@angular/core';
import { enableRipple } from '@syncfusion/ej2-base';
import { MenuItemModel } from '@syncfusion/ej2-angular-navigations';
enableRipple(true);
@Component({
selector: 'app-root',
template: `<!-- To Render Menu. -->
<ejs-menu [items]='menuItems'></ejs-menu>`
})
export class AppComponent {
public menuItems: MenuItemModel[] = [
{
text: 'File',
items: [
{ text: 'Open' },
{ text: 'Save' },
{ text: 'Exit' }
]
},
{
text: 'Edit',
items: [
{ text: 'Cut' },
{ text: 'Copy' },
{ text: 'Paste' }
]
},
{
text: 'View',
items: [
{ text: 'Toolbar' },
{ text: 'Sidebar' }
]
},
{
text: 'Tools',
items: [
{ text: 'Spelling & Grammar' },
{ text: 'Customize' },
{ text: 'Options' }
]
},
{ text: 'Go' },
{ text: 'Help' }
];
}
Menu is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Menu platforms from the links below,
With continuous improvement in Angular versions, the Angular Menu Bar is kept up to date to make it compatible with the latest version.
The Syncfusion Angular Menu Bar supports the following features:
You can find our Angular Menu Bar demo here.
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 and five or fewer developers.
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.