NV Elements Catalog Starters Repo System Themes Getting Started Getting Started Installation CLI MCP Skills Lint Integrations Getting Started Angular Bundles Custom Elements Golang Hugo Import Maps Lit Lit Library MCP Apps NextJS Nuxt Preact React SolidJS Svelte TypeScript Vue About Changelog Metrics Support Accessibility Contributions Requests Migration Foundations Overview 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 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.2.4 Coverage: 100.00% Bundle: 14.66kb Lighthouse: 100 Axe Core Released: 0.11.0
Overview API Examples

<nve-menu>

Properties

Property Attribute Description Values items none
MenuItem[]

Events

Event Description scroll

Fires when the user scrolls the menu list. Throttled to one dispatch per animation frame. detail: { scrollTop, scrollHeight, clientHeight }.

Slots

Slot Description default

default slot for nve-menu-item

CSS Properties

Css-property Description --max-height --min-width --max-width --width --gap --padding

<nve-menu-item>

Properties

Property Attribute Description Values interestForElement interestfor
command command
string
commandForElement commandfor
popoverTargetAction popovertargetaction

The popover target action to perform on the popover target element. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction

show
hide
toggle
popovertarget popovertarget
string
popoverTargetElement none

Establishes a relationship between a popover and its invoker button. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement

current current

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

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

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

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.
disabled disabled

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

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

Defines the value associated with the element's name when submitting the form data. The server receives this value in params when the form submits through this button. MDN

string
name name

The name of the button, submitted as a pair with the button value as part of the form data. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-name

string
form form

Like input form, sets a button to submit a form outside its parent form. Returns a reference to the form element if available. https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/form

readOnly readonly

Indicates whether the user can change the element's value while it remains visible and focusable. MDN

true The element has a readonly state: the user cannot change its value, but can still focus and copy it.
false The element allows editing and the user can change its value through interaction.
expanded expanded

Indicates whether collapsible content is currently visible or hidden from the user. MDN

true The associated content expands and becomes visible to the user.
false The associated content collapses and hides from the user.
pressed pressed

Indicates the current state of a toggle button that switches on or off. MDN

true The button is in the pressed (on) state and the associated action or setting is active.
false The button is in the unpressed (off) state and the associated action or setting is inactive.
type type
string
status status

Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.

danger Signals destructive or irreversible actions that need extra attention and confirmation.

Slots

Slot Description suffix

slot for suffix icon

default

default slot for content

CSS Properties

Css-property Description --text-transform --opacity --cursor --line-height --min-height --width --gap --padding --color --font-weight --font-size --border-background
--border-radius --background