Open In App

Angular PrimeNG Menu Reference

Last Updated : 23 Jul, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Angular PrimeNG Menu provides different components, such as MenuModel, Breadcrumb, ContextMenu, MegaMenu, etc., that help to build the menus and submenus that share the common API, along with rendering an overlay menu on right click of its target. This component also helps the user to navigate through the different pages without refreshing the page by facilitating the page hierarchy. This enhances the overall user interaction with the web application.

The complete list of Menu Components is listed below with their brief description:

MenuModel API Component

PrimeNG Menus components facilitate to specify the menuitems and submenus by sharing a common API.

Components

Descriptions

MenuModel API MenuItemPrimeNG menus components share a common API to specify the menuitems and submenus.
MenuModel API MegaMenuIn the case of MegaMenu, the items in the root level should be MegaMenuItem[], & in the case of the Nested level, the submenus can be MenuItem[].
MenuModel API CommandIn Custom Content, both simple strings and HTML values are supported by the Label of a menuitem.
MenuModel API Custom ContentIn Custom Content, both simple strings and HTML values are supported by the Label of a menuitem.

Breadcrumb Component

The Breadcrumb Component provides the navigation link that is used to link the previous pages the user navigates through & displays it in the hierarchy.

Components

Descriptions

Breadcrumb PropertiesThe Breadcrumb Component provides the navigation link that is used to link the previous pages the user navigates through & displays it in the hierarchy.
Breadcrumb EventsThe Breadcrumb component provides the navigation link that is used to link the previous pages the user navigates through & display it in the hierarchy.
Breadcrumb StylingThis component provides the various structural styling classes to style the component.

ContextMenu Component

The ContextMenu component displays a menu when right-clicking over any component. It appears similar to the menu that appears when we right-click over any application or desktop screen on a PC.

Components

Descriptions

ContextMenu TargetThis component is used as a Local template variable name of the element to attach the context menu.
ContextMenu Exclusive IntegrationsComponents like Tree, DataTable, etc. have special integration so they provide a different method to attach a context menu.
ContextMenu PropertiesThe properties of the component allow us to customize the component and display it accordingly and suit the website design.
ContextMenu EventsThe ContextMenu events are used to track the interactions with the component.
ContextMenu StylingThe ContextMenu styling allows us to override the default styles by using the component style classes.

Dock Component

The Dock Component is a navigation component that acts as a menu item. The Dock menu item is built on MenuItem of PrimeNG and provides many functionalities.

Components

Descriptions

Dock BasicThe Basic dock just contains the Dock menu element with the items inside it.
Dock AdvancedThe dock component resembles the dock menu in Ubuntu OS or Mac OS. The Dock menu item is built on MenuItem of PrimeNG and provides many functionalities.
Dock PropertiesThe Dock properties allow us to modify the component with the help of properties and provide great extensibility quickly.
Dock StylingThe Dock Styling allows modification of the default styling of the component by using the classes of the component.

MegaMenu Component

The MegaMenu Component is a navigation component that is used to make a component with multiple numbers of the menu.

Components

Descriptions

MegaMenu HorizontalThis component provides the navigation component in a horizontal manner.
MegaMenu VerticalThis component provides aligning the menu items in a vertical manner.
MegaMenu Custom ContentThis component can be used to place the custom content in between the p-megaMenu tags, & the content must be aligned in a horizontal manner.
MegaMenu PropertiesIt is used to define the orientation. It is of string data type & the default value is horizontal.
MegaMenu TemplatesThe Templates are used to put some content on some pre-structured containers.
MegaMenu StylingThis component provides the different classes that will be used to style a container element.

Menu Component

The Menu Component is used to make a component that contains some information & supports either static or dynamic positioning.

Components

Descriptions

Menu BasicAngular PrimeNG Menu Basic is used to make a component for navigation that contains some information & supports either static or dynamic positioning.
Menu OverlayAngular PrimeNG Menu Overlay can show the menu as a popup.
Menu SubMenusThe SubMenus supports 1 level of nesting via subitems of an item. This helps to create categories or headings in the menu.
Menu Popup ModeThe Menu Popup Mode can be used to show the menu as a popup.
Menu Animation ConfigurationThe Menu Animation Configuration allows us to configure the default animation of opening and closing the menu.
Menu PropertiesThe properties of the Menu component provided by PrimeNG are listed below.
Menu EventsThe two events of the Menu component named onShow and onHide are described below.
Menu StylingWe can add some menu style classes to change the style of menu items and elements.

Menubar Component

The Menubar Component is used to make a menu list in the form of a horizontal bar.

Components

Description

Menubar Custom ContentThe Menubar component Custom Content facilitates the placement of the content in between the p-menubar tags.
Menubar PropertiesThis component provides the various properties that can be used with Menubar.
Menubar TemplatesThis component has various templates that are used to make the Menubar.
Menubar StylingThe Menubar styling allows us to customize the default styling of the menubar using the classes so that we can create a custom design.

PanelMenu Component

The PanelMenu Component is used to make a menu in the form of a panel. It can be considered as a combination of accordion and tree components

Components

Descriptions

PanelMenu Initial StateIt is an array of menu items. It accepts the array data type as input & the default value is null.
PanelMenu Animation ConfigurationThe PanelMenu Animation Configuration allows us to configure the default animation when the component appears and then hides each section of the menu.
PanelMenu PropertiesIt is an array of menu items. It accepts the array data type as input & the default value is null.
PanelMenu StylingThis component is used to include the structural styling classes to the component.

SlideMenu Component

The SlideMenu Component is used to display the menu list in the form of the sliding animation which helps to see the menu items in a stepwise manner.

Components

Descriptions

Slide Menu BasicSlideMenu component is used to display the menu list in the form of a sliding animation which helps to see the menu items in a stepwise manner
Slide Menu PopupIt defines if the menu would be displayed as a popup. It is of the boolean data type & the default value is false.
Slide Menu EffectsThe Menu component is used to make a component that contains some information & supports either static or dynamic positioning.
Slide Menu Animation ConfigurationThe Slide Menu Animation Configuration allows us to configure the default animation of opening and closing the menu.
Slide Menu PropertiesIt is an array of menu items. It accepts the array data type & the default value is null.
Slide Menu StylingThe Slide Menu Styling classes allow changing the design of the component from the default design by implementing the list of structural style classes provided by Angular PrimeNG.

Steps Component

The Steps Component is used to indicate or track the completion of a series of processes.

Components

Descriptions

Steps ReadonlyThe Step Component is used to indicate or track the completion of a series of processes. The readonly property is used to check whether the items are clickable or not.
Steps PropertiesThe Step component is used to indicate or track the completion of a series of processes.
Steps EventsAngular PrimeNG provides an event that is fired while opting for a new step.
Steps StylingThere are different lists of structural style classes provided by Angular PrimeNG, which can be utilized to enhance the user experience.

TabMenu Component

The TabMenu Component is used to make a navigation bar that will display the nav items as a nav header ie., it is a menu in the form of tabs.

Components

Descriptions

TabMenu DefaultThe TabMenu component is used to make a navigation bar that will display the nav items as a nav header ie., it is a menu in the form of tabs.
TabMenu ScrollableThe Scrollable represents the scroll can be in the horizontal direction,
TabMenu ActiveItemThe TabMenu component is used to make a navigation bar that will display the nav items as a nav header
TabMenu PropertiesThe TabMenu component is used to make a navigation bar that will display the nav items as a nav header ie., it is a menu in the form of tabs.
TabMenu StylingThe TabMenu Styling classes allow changing the design of the component from the default design.

TieredMenu Component

This component helps to render the submenus in the form of nested overlays.

Components

Description

TieredMenu InlineThe TieredMenu inline allows users to have nested menu items within the same line.
TieredMenu PopupTieredMenu Popup allows a user to make the menu in the form of popup tiers using a button toggle.
TieredMenu Animation ConfigurationThe Animation Configuration can be used to control the show and hide animation of the TieredMenu.
TieredMenu PropertiesThere are various properties provided by Angular PrimeNG, which are described below.
TieredMenu StylingThe TieredMenu Styling classes allow changing the design of the component from the default design by implementing the various lists of structural style classes.

Similar Reads