File: tieredmenu.md | Updated: 11/15/2025
Primary
Surface
PresetsAuraMaterialLaraNora
Ripple
RTL
v20
FEATURES
API
THEMING
PASSTHROUGH
TieredMenu displays submenus in nested overlays.
import { TieredMenuModule } from 'primeng/tieredmenu';
TieredMenu requires a collection of menuitems as its model.
File
New
Document
Image
Video
Open
Edit
Copy
Delete
Search
Share
Slack
<p-tieredmenu [model]="items" />
Popup mode is enabled by adding popup property and calling toggle method with an event of the target.
Toggle
<p-button label="Toggle" (click)="menu.toggle($event)" /> <p-tieredmenu #menu [model]="items" [popup]="true" />
TieredMenu offers item customization with the item template that receives the menuitem instance from the model as a parameter.
File
New
Document⌘+N
Image⌘+I
Video⌘+L
Open⌘+O
Print⌘+P
Edit
Copy⌘+C
Delete⌘+D
Search⌘+S
Share
Slack2
Whatsapp3
<p-tieredmenu [model]="items"> <ng-template #item let-item let-hasSubmenu="hasSubmenu"> <a pRipple class="flex items-center p-tieredmenu-item-link"> <span [class]="item.icon" class="p-tieredmenu-item-icon"></span> <span class="ml-2">{{ item.label }}</span> <p-badge *ngIf="item.badge" class="ml-auto" [value]="item.badge" /> <span *ngIf="item.shortcut" class="ml-auto border border-surface rounded bg-emphasis text-muted-color text-xs p-1"> {{ item.shortcut }} </span> <i *ngIf="hasSubmenu" class="pi pi-angle-right ml-auto"></i> </a> </ng-template> </p-tieredmenu>
The command property defines the callback to run when an item is activated by click or a key event.
File
New
Search
Sync
Import
Export
Menu items support navigation via routerLink, programmatic routing using commands, or external URLs.
<p-tieredmenu [model]="items" />
TieredMenu component uses the menubar role with aria-orientation set to "vertical" and the value to describe the menu can either be provided with aria-labelledby or aria-label props. Each list item has a presentation role whereas anchor elements have a menuitem role with aria-label referring to the label of the item and aria-disabled defined if the item is disabled. A submenu within a TieredMenu uses the menu role with an aria-labelledby defined as the id of the submenu root menuitem label. In addition, menuitems that open a submenu have aria-haspopup, aria-expanded and aria-controls to define the relation between the item and the submenu.
In popup mode, the component implicitly manages the aria-expanded, aria-haspopup and aria-controls attributes of the target element to define the relation between the target and the popup.
| Key | Function | | --- | --- | | tab | Add focus to the first item if focus moves in to the menu. If the focus is already within the menu, focus moves to the next focusable item in the page tab sequence. | | shift + tab | Add focus to the last item if focus moves in to the menu. If the focus is already within the menu, focus moves to the previous focusable item in the page tab sequence. | | enter | If menuitem has a submenu, toggles the visibility of the submenu otherwise activates the menuitem and closes all open overlays. | | space | If menuitem has a submenu, toggles the visibility of the submenu otherwise activates the menuitem and closes all open overlays. | | escape | If focus is inside a popup submenu, closes the submenu and moves focus to the root item of the closed submenu. | | down arrow | Moves focus to the next menuitem within the submenu. | | up arrow | Moves focus to the previous menuitem within the submenu. | | right arrow | Opens a submenu if there is one available and moves focus to the first item. | | left arrow | Closes a submenu and moves focus to the root item of the closed submenu. | | home | Moves focus to the first menuitem within the submenu. | | end | Moves focus to the last menuitem within the submenu. |
Import
Basic
Popup
Template
Command
Router
Accessibility


Figma UI Kit
The official Figma UI Kit for Prime UI libraries, the essential resource for designing with PrimeOne components.
PrimeNG 20.3.0 by PrimeTek