Angular Sidebar | Navigation Drawer | Syncfusion

Overview

The Angular Sidebar, also called the side navigation menu, can be used to simplify the navigation hierarchy. Users can place primary or secondary content alongside the main content in this control. It provides a flexible container that can be expanded or collapsed based on user interactions. Any type of HTML content or component can be placed in the Sidebar for quick access and easy navigation, like quick references, menus, lists, and tree views.


Transition and animation

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.


HTML content positioning to the sides

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, to the left and right, to show primary and secondary content simultaneously.


Dock the HTML side panel content

When the side content is docked to give the main content more space, the navigation text is represented as a shortened view of icons.



Shows the responsive state of Angular Sidebar by auto closing


Angular Sidebar animation


Angular Sidebar backdrop


Angular Sidebar with ListView


Angular Sidebar target


Shows the Angular Sidebar menu inside a mobile panel

The Angular Sidebar component’s responsive mode gives an adaptive, redesigned UI appearance for mobile devices.



Developer-friendly APIs

Developers have control over all the UI elements and behaviors of the component to provide the best user experience with a rich set of developer-friendly APIs.


Built-in themes

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, as demonstrated in the following. Also explore our Angular Sidebar example, which 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 {
}


Angular version compatibility

The Angular Sidebar is kept up to date to make it compatible with the latest Angular version.




Transform your applications today by downloading our free evaluation version

Syncfusion Angular Resources