Angular Sidebar or Sidenav menu is an expandable and collapsible component that typically acts as a side container to place primary or secondary content alongside the main content. It provides flexible options to be shown and hidden based on user interactions. Any type of HTML content or component can be placed in the Sidebar for quick access and for easy navigation, like quick references, menus, lists, and tree views.
Different types of slide-out content in the Angular Sidebar component give users the flexibility to view or hide content over or above the main content by pushing, sliding, or overlaying it.
The Angular Sidebar control positions its content to the left or right side of the main content area. This option allows the placement of two sidebars in a page, both at the left and right, to show primary and secondary content simultaneously.
When you dock the side content to give the main content more space, the navigation text is represented as a shortened view of icons.
Bind custom actions to any element (hamburger menu or buttons) to toggle the sidebar.
Auto closing the Sidebar component’s content allows the main content area to be more readable.
The Angular Sidebar component’s responsive mode gives an adaptive, redesigned UI appearance for mobile devices.
Developers have control over all the UI elements and behaviors of the components to provide the best experience to end users with a rich set of developer-friendly APIs.
The Angular Sidebar component is shipped with several built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast.
Users can customize any one of these built-in themes or create new themes by either simply overriding SASS variables or using our Theme Studio application.
Easily get started with the Angular SideBar using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular SideBar Example that shows you how to render and configure a SideBar in Angular.
<ejs-sidebar id="default-sidebar" >
<div class="title"> Sidebar content</div>
</ejs-sidebar>
<div>
<div class="title">Main content</div>
<div class="sub-title">
Content goes here.
</div>
</div>
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: 'app/app.component.html',
styleUrls: ['app/app.component.css']
})
export class AppComponent {
}
Sidebar is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Sidebar platforms from the links below,
With continuous improvement in Angular versions, the Angular SideBar is kept up to date to make it compatible with the latest version.
Syncfusion Angular Sidebar provides the following features:
You can find our Angular Sidebar 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.