Pass a NeuMenuItem collection. Top-level leaves act directly; entries with children open MenuButton popups. visible:false hides entries and disabled prevents interaction. Item content can be replaced with neuMenuItem, including content in the child popup. Keep top-level labels short and give the bar a descriptive ariaLabel.
itemClick reports an activated leaf. Commands belong to the item data and execute when activated. The open dropdown is owned by the component; no open Input is exposed. Moving across groups while a dropdown is open transfers the active dropdown rather than requiring another click.
Tab enters the bar, left/right traverse available top-level items and Home/End reach its ends. Down/up opens a group at its first/last item; inside it, use the Menu keyboard controls. Escape closes the popup and restores trigger focus. Direction follows the document.
Key
Action
Tab
Enter or leave the bar.
ArrowLeft / ArrowRight
Move between available top-level actions following text direction.
ArrowDown / ArrowUp
Open a group at its first/last action; inside the group, move through actions.
Emits the activated leaf/action. The optional command runs first; disabled entries do not activate.
Templates
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.
Use supported public tokens for the component. Icon resolution and surrounding example layout belong to the application. Check both themes and narrow screens.
Specific tokens
This component uses shared theme tokens rather than dedicated component hooks.
Shared tokens used
Override these on a local wrapper to affect this example. An override on :root affects other components that use the same token.