Menu
A list of actions or links — in place, as a popup, with sub-menus or on right-click.
Basic
An inline menu with groups, icons, shortcuts, a badge, a disabled item and a danger item. Tab into it, then use the arrow keys or type a letter.
Popup
popup turns the menu into a dropdown. [txMenuTrigger] wires a button; one menu can also serve many rows with toggle($event). Arrow Down on the button opens it at the first item.
- Write release notes
- Review the pricing page
- Book the venue
Links
routerLink and url render real links: they open in a new tab with a middle click and work with the keyboard like any item.
Tiered
<tx-tiered-menu> opens nested items as sub-menus — on hover, Enter or Arrow Right; Arrow Left and Escape go back. Sub-menus flip to the left near the edge of the screen.
Template
<ng-template txMenuItem let-item> draws every item yourself; data carries anything extra. Keyboard and typing still work on the labels.
Design tokens
dt changes the tokens of one menu; override menu in the preset for all of them.