Skip to content

Menu

Last updated 11 Nov 2026

NbMenu is a floating menu container for actions and options. It follows the Carbon Design System menu pattern with full keyboard navigation, submenus, selectable items, danger items, and dividers.

Keyboard navigation ​

KeyAction
ArrowDownMove to next item
ArrowUpMove to previous item
Enter / SpaceActivate item
ArrowRight / Enter / SpaceOn a submenu trigger: open the submenu and focus its first item
ArrowLeft / Escape (submenu)Close the submenu and return focus to its trigger
Escape (top level)Close menu
TabClose the menu, from any level

A disabled item or submenu with a disabledReason is not skipped, at the top level or inside a submenu: it takes focus like any other item (aria-disabled="true"), Enter, Space and a click do nothing, and the reason is its description (aria-describedby), so a screen reader reads it when the item is reached. A disabled item without a reason is skipped by the arrow keys and typeahead. Opening a submenu on hover leaves focus where it is, so pointer users are not interrupted.