Angular PrimeNG Slide Menu Effects Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report Angular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Slide Menu Effects in Angular PrimeNG. We will also learn about the properties, events, methods & styling along with their syntaxes that will be used in the code. The Menu component is used to make a component that contains some information & supports either static or dynamic positioning. Syntax: <p-slideMenu #menu [model]="..." effectDuration="..." [viewportHeight]="..." easing="..." > </p-slideMenu> Angular PrimeNG Slide Menu Effects properties: model: It is an array of menu items. It accepts the array data type & the default value is null.easing: It is the animation to use for sliding. It accepts the string data type & the default value is ease-out.effectDuration: It is the duration of the sliding animation in milliseconds. It accepts any data type as input & the default value is 250.viewportHeight: It is the height of the scrollable area, a scrollbar appears if a menu height is longer than this value. It accepts the number data type as input & the default value is 175. Creating Angular application & module installation: Step 1: Create an Angular application using the following command. ng new appname Step 2: After creating your project folder i.e. appname, move to it using the following command. cd appname Step 3: Install PrimeNG in your given directory. npm install primeng --save npm install primeicons --save Project Structure: It will look like the following: Steps to run the application: Run the below command to see the output. ng serve --open Example 1: Below is the example code that illustrates the use of the Angular PrimeNG Slide Menu Effects using the easing="ease-in-out" app.component.html: HTML <h1 style="color: green">GeeksforGeeks</h1> <h5>Angular PrimeNG SlideMenu Effects</h5> <p-slideMenu #menu [model]="gfg" effectDuration="1200" [viewportHeight]="200" easing="ease-in"> </p-slideMenu> app.component.ts: JavaScript import { Component } from '@angular/core'; import {MenuItem} from 'primeng/api'; @Component({ selector: 'app-root', templateUrl: './app.component.html' }) export class AppComponent { gfg: MenuItem[]; ngOnInit() { this.gfg = [ { label:'Courses', items:[ { label:'For Freshers', items:[ { label:'DSA Self Paced', }, { label:'C++ STL', }, ] } ] }, ]; } } app.module.ts: JavaScript import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppComponent } from './app.component'; import { SlideMenuModule } from 'primeng/slidemenu'; import { ButtonModule } from 'primeng/button'; @NgModule({ imports: [ BrowserModule, BrowserAnimationsModule, SlideMenuModule, ButtonModule ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule {} Output: Example 2: Below is another example code that illustrates the use of the Angular PrimeNG Slide Menu Effects using the easing="ease-in-out" app.component.html: HTML <h1 style="color: green">GeeksforGeeks</h1> <h5>Angular PrimeNG SlideMenu Effects</h5> <p-slideMenu #menu [model]="gfg" effectDuration="1100" [viewportHeight]="200" easing="ease-in-out"> </p-slideMenu> app.component.ts: JavaScript import { Component } from '@angular/core'; import {MenuItem} from 'primeng/api'; @Component({ selector: 'app-root', templateUrl: './app.component.html' }) export class AppComponent { gfg: MenuItem[]; ngOnInit() { this.gfg = [ { label:'Tutorials', items:[ { label:'React', items:[ { label:'React Ant Design', }, { label:'React Blueprint UI', }, ] } ] }, ]; } } app.module.ts: JavaScript import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { AppComponent } from './app.component'; import { SlideMenuModule } from 'primeng/slidemenu'; import { ButtonModule } from 'primeng/button'; @NgModule({ imports: [ BrowserModule, BrowserAnimationsModule, SlideMenuModule, ButtonModule ], declarations: [ AppComponent ], bootstrap: [ AppComponent ] }) export class AppModule {} Output: Reference: https://primefaces.org/primeng/slidemenu Comment More infoAdvertise with us Next Article Angular PrimeNG Slide Menu Animation Configuration S singhtripti Follow Improve Article Tags : Web Technologies AngularJS Angular-PrimeNG PrimeNG-Menu Similar Reads MenuModel API ComponentAngular PrimeNG MenuModel API MenuItemAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use Angular PrimeNG MenuModel API MenuItem. MenuModel API: Prime 3 min read Angular PrimeNG MenuModel API MenuItemAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use Angular PrimeNG MenuModel API MenuItem. MenuModel API: Prime 3 min read Angular PrimeNG MenuModel API Custom ContentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use Angular PrimeNG MenuModel API Custom Content. In MenuModel A 3 min read Breadcrumb ComponentAngular PrimeNG Breadcrumb ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Breadcrumb component in Angular PrimeNG. We will also l 3 min read Angular PrimeNG Breadcrumb PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn how to use the Breadcrumb Properties in Angular PrimeNG. The Breadcru 3 min read Angular PrimeNG Breadcrumb EventsAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn about Breadcrumb Events in Angular PrimeNG. The Breadcrumb component 3 min read Angular PrimeNG Breadcrumb StylingA responsive website may be created with great ease using the open-source Angular PrimeNG framework, which has a wide range of native Angular UI components for superb style. In this article, we will learn how to style the Angular PrimeNG Breadcrumb Styling. The Breadcrumb Component offers the navig 4 min read ContextMenu ComponentAngular PrimeNG ContextMenu ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG ContextMenu PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease.  In this article, we are going to learn Angular PrimeNG ContextMenu Properties. The ContextMenu comp 4 min read Angular PrimeNG ContextMenu EventsAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG ContextMenu StylingAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Dock ComponentAngular PrimeNG Dock ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG Dock BasicAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use Dock Basic in Angular PrimeNG. The Dock Component in Angula 3 min read Angular PrimeNG Dock AdvancedAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Dock Advanced in Angular PrimeNG. The Dock Component in 4 min read Angular PrimeNG Dock PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG Dock StylingAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read MegaMenu ComponentAngular PrimeNG MegaMenu ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the MegaMenu component in Angular PrimeNG. We will also lea 4 min read Angular PrimeNG MegaMenu HorizontalAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. This article will show us how to use the MegaMenu Horizontal in Angular PrimeNG. We will also learn 4 min read Angular PrimeNG MegaMenu VerticalAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. This article will show us how to use the MegaMenu Vertical in Angular PrimeNG. We will also learn ab 4 min read Angular PrimeNG MegaMenu PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn how to use MegaMenu Properties in Angular PrimeNG. The MegaMenu comp 4 min read Angular PrimeNG MegaMenu TemplatesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use Angular PrimeNG MegaMenu Templates. The MegaMenu component i 3 min read Angular PrimeNG MegaMenu StylingA responsive website may be created with great ease using the open-source Angular PrimeNG framework, which has a wide range of native Angular UI components for superb style. In this tutorial, we will learn how to style the MegaMenu component in Angular PrimeNG. Additionally, we will learn about the 5 min read Menu ComponentAngular PrimeNG Menu ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Menu component in Angular PrimeNG. We will also learn a 4 min read Angular PrimeNG Menu BasicAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. This article will show us how to use the Menu Basic in Angular PrimeNG. Angular PrimeNG Menu Basic i 3 min read Angular PrimeNG Menu OverlayAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. This article will show us how to use the Menu Overlay in Angular PrimeNG. Angular PrimeNG Menu Overl 3 min read Angular PrimeNG Menu SubMenusAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG Menu Popup ModeAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. This article will show us how to use the Menu Popup Mode in Angular PrimeNG. The Menu Popup Mode can 3 min read Angular PrimeNG Menu Animation ConfigurationAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG Menu PropertiesAngular PrimeNG is an open-source library that consists of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see Angular PrimeNG Menu Properties. The Menu component is used to navigate the 4 min read Angular PrimeNG Menu EventsAngular PrimeNG is an open-source library that consists of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will be seeing Angular PrimeNG Menu Events. The Menu component is used for navigatin 4 min read Angular PrimeNG Menu StylingA responsive website may be easily created using the open-source Angular PrimeNG framework, which has a wide range of native Angular UI components for superb style. In this article, we will learn how to style the Menu Component in Angular PrimeNG. A component that holds information and allows both s 4 min read Menubar ComponentAngular PrimeNG Menubar ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Menubar component in Angular PrimeNG. We will also lear 3 min read Angular PrimeNG Menubar Custom ContentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use Menubar Custom Content in Angular PrimeNG. We will also lea 3 min read Angular PrimeNG Menubar PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn how to use Menubar Properties in Angular PrimeNG. We will also learn 4 min read Angular PrimeNG Menubar TemplatesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know about Angular PrimeNG Menubar Templates The Menubar component is used 3 min read Angular PrimeNG Menubar StylingAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read PanelMenu ComponentAngular PrimeNG PanelMenu ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the PanelMenu component in Angular PrimeNG. We will also le 4 min read Angular PrimeNG PanelMenu Animation ConfigurationAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG PanelMenu PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn how to use the PanelMenu Properties in Angular PrimeNG. We will also 4 min read Angular PrimeNG PanelMenu StylingThe open-source Angular PrimeNG framework is used to create responsive websites with great simplicity and has a large set of native Angular UI components that are utilized for superb style. In this article, we will learn how to style the PanelMenu Component in Angular PrimeNG using its styling class 4 min read SlideMenu ComponentAngular PrimeNG SlideMenu ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use the SlideMenu component in Angular PrimeNG. We will also lea 5 min read Angular PrimeNG Slide Menu BasicAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use SlideMenu Basic in Angular PrimeNG. SlideMenu component is u 3 min read Angular PrimeNG Slide Menu PopupAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use the SlideMenu Popup in Angular PrimeNG. SlideMenu component 4 min read Angular PrimeNG Slide Menu EffectsAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Slide Menu Effects in Angular PrimeNG. We will also lea 3 min read Angular PrimeNG Slide Menu Animation ConfigurationAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Angular PrimeNG Slide Menu PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see how to use SlideMenu Properties in Angular PrimeNG. We will also learn 5 min read Angular PrimeNG Slide Menu StylingAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. It provides a lot of templates, components, theme design, an extensive icon library, and much more. 4 min read Steps ComponentAngular PrimeNG Steps ComponentAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will know how to use the Steps component in Angular PrimeNG. We will also learn 3 min read Angular PrimeNG Steps ReadonlyAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn how to use the Steps Readonly in Angular PrimeNG. We will also learn 3 min read Angular PrimeNG Steps PropertiesAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will learn how to use the Steps Properties in Angular PrimeNG. We will also lear 3 min read Angular PrimeNG Steps EventsAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see the Steps Events in Angular PrimeNG. The Steps Component guides users t 3 min read Angular PrimeNG Steps StylingAngular PrimeNG is an open-source framework with a rich set of native Angular UI components that are used for great styling and this framework is used to make responsive websites with very much ease. In this article, we will see the Angular PrimeNG Steps Styling. The Steps Component guides users th 3 min read Like