NV Elements Catalog Starters Repo System Themes About Getting Started Changelog Metrics Support Accessibility Contributions Requests Migration Integrations Installation MCP CLI Lint Angular Bundles Custom Elements Extensions Golang Hugo Import Maps Lit NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue Foundations Typography Iconography Themes Design Tokens Size & Space Objects Interactions Support Status Color Animation Fonts Layers Custom Layout Horizontal Vertical Grid Popovers i18n Visualization View Transitions Elements Accordion Alert Avatar Badge Breadcrumb Button Button Group Card Chat Message Checkbox Color Combobox Copy Button Datagrid Integrations Column Action Column Alignment Column Fixed Column width Container Card Display Settings Footer Heatmap Keynav Multi Select Pagination Panel Detail Panel Grid Performance Placeholder Row Action Row Groups Row Sort Scroll Height Single Select Stripe Date Datetime Dialog Divider Dot Drawer Dropdown Dropdown Group Dropzone File Format Datetime Format Number Format Relative Time Forms Validation Actions Control Icon Icon Button Input Input Group Logo Menu Month Notification Page Page Header Page Loader Pagination Panel Progressive Filter Chip Progress Bar Progress Ring Password Preferences Input Pulse Radio Range Resize Handle Search Select Skeleton Sort Button Sparkline Star Rating Steps Switch Tabs Tag Textarea Time Toast Toggletip Toolbar Tooltip Tree Week Patterns Authentication Browse Chat Dashboard Editor Empty States Heatmap Keyboard Shortcut Logging Media Navigation Onboarding Panel Responsive Search Subheader Trend Code Codeblock Monaco Input Diff Input Editor Diff Editor Problems Markdown Markdown CSS Utility Labs Responsive Layout Viewport Container Patterns Forms API Design Properties & Attributes Slots Registration CustomEvents Stateless Composition Styles Packaging Glossary Logs Internal Guidelines Agent Harness Agent Tooling Agent Ownership Documentation Examples TypeScript Testing Unit Testing Accessibility Testing Lighthouse Testing SSR Testing Visual Testing Troubleshooting Component Creation Internal Examples All Examples

Menu

stable:  0.1.4 Coverage: 100.00% Bundle: 14.66kb Lighthouse: 100 Axe Core Released: 0.11.0
Overview API Examples

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.

item 1 item 2 item 3 item 4

Installation


    

    
CLI / MCP

Selected

Indicates whether an element currently holds selection within a multi-option selection group. MDN

Selected Description true The element holds selection and represents the user's current choice within the group. false The element does not hold selection and the user can choose it.

Menu with a selected item showing the visual state for user-selected options.

item 1 item 2 item 3 item 4

Current

Indicates the element that represents the user's current location or position within a set. MDN

Current Description page Marks the current page within a set of navigation links. step Marks the current step within a multi-step process or workflow.

Menu with a current page item showing the visual state for the active/current page in navigation.

item 1 item 2 item 3 item 4

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>

item 1 item 2 item 3 item 4

Disabled

This Boolean attribute prevents the user from interacting with the element: it cannot receive press or focus events. MDN

Disabled Description true The element has a disabled state and does not accept interaction. false The element has an enabled state and accepts interaction.

Menu with disabled items showing unavailable options while maintaining visual context.

item 1 item 2 item 3 item 4

Icons

Menu items with icons to add visual context and improve usability.

profile settings favorites logout

Scroll

Menu with constrained height showing scrollable behavior when content exceeds container limits.

item 1 item 2 item 3 item 4 item 5 item 6

Menu with keyboard navigation and ARIA disclosure pattern inside a dropdown. Use when menu items need accessible focus management and arrow key 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.

NV

NVIDIA

Drawer

item 1 item 2 item 3 item 4

Content

Use a tooltip on a menu item to provide extra context and warnings.

item 1 item 2 This is a warning tooltip item 3

Complex

Use a dropdown menu with search and branded logos for application selection interfaces.

Menu items with links for navigation functionality within menu structures.

Suffix Slot

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.

CMD + C

Danger Status

Menu items with danger status styling for destructive actions like delete or logout operations.

default disabled selected current icon left icon right

Release Status

All elements and features go through 3 phases of stability, pre-release, beta and stable.

pre-release
Docs Preview API Documentation Fully Themeable
beta
Robust unit test coverages Passed API Review Passed Designer VQA Review Included in library package
stable
No known outstanding AA WCAG issues No known outstanding performance issues Adapts to different screen/container sizes No breaking API changes for at least 90 days