Top Nav Mega Menu
@astryxdesign/core v0.7.1 · TopNavMegaMenu
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | — | Visible label for the trigger button. Required. |
showDelay | number | 150 | Delay in milliseconds before showing the menu on hover. |
hideDelay | number | 250 | Delay in milliseconds before hiding the menu after the pointer leaves. |
Events
openChange(isOpen: boolean): fires when the mega menu opens or closes. Useful for coordinating wrapper styles.
Slots
default: menu items. TypicallyTopNavMegaMenuItemcomponents, but any content works.featured: featured content. Rendered as the right-hand panel on desktop, and below the items in the mobile drawer.