NavigationMenuLink
Overview
A navigable link within a navigation menu.
Theme entry: NavigationMenuLink
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| as | string|object | undefined | The element or component to render as. | |
| asChild | boolean | false | When true, merges props onto the child element instead of rendering a wrapper. | |
| active | boolean | undefined | Used to identify the link as the currently active page. |
Slots
default
Slot.
Events
| Name | Description |
|---|---|
select | Emitted when an item is selected. |
Source
client/lib/navigation/menu/NavigationMenuLink.vue