Default
A menu offers a list of choices to the user, such as a set of actions or functions. Choosing an item in a menu typically opens a sub menu, or invokes a command.
Content Slots
Menu items with content slots for icons, dots, and other elements.
Compact
Dynamically toggle the compact state of a menu.
Expanded Navigation
An explicitly expanded group keeps navigation state controlled by the application without enabling automatic state changes. Use when the application owns expansion state.
Unavailable Navigation
A disabled menu-group header preserves its current expanded content while preventing user toggling. Use when group availability depends on application state.
Dropdown
Menu with keyboard navigation and ARIA disclosure pattern inside a dropdown. Use when menu items need accessible focus management and arrow key navigation.
Selected
Menu with a selected item showing the visual state for user-selected options.
Current
Menu with a current page item showing the visual state for the active/current page in navigation.
Border Background
By default Menu will show a blue border on the selected item. You can change the border color by setting --border-background on the <nve-menu-item>
Disabled
Menu with disabled items showing unavailable options while maintaining visual context.
Links
Menu items with links for navigation functionality within menu structures.
Suffix
Menu item features a default slot for content, along with a suffix slot for displaying elements such as keyboard shortcuts at the end of the menu item container.
Scroll
Menu with constrained height showing scrollable behavior when content exceeds container limits.
Complex
Use a dropdown menu with search and branded logos for application selection interfaces.
Vertical Navigation
Use vertical navigation menu groups with optional icons to organize related destinations into collapsible sections. Use the nve-tree component for deeply nested navigation.
Vertical Navigation Drawer
Use a navigation drawer to overlay page content for out-of-context navigation.
Vertical Navigation Panel
Use an inline navigation panel to push page content aside when navigation is contextual to the page.
Item Tooltip
Use a tooltip on a menu item to provide extra context and warnings.
Danger Status
Menu items with danger status styling for destructive actions like delete or logout operations.