Skip to main content

Navigation Menu

<gstock-navigation-menu> | GstockNavigationMenu

API

Properties

Name Description Reflects Type Default
icon The icon name of the menu. string | undefined -
label The label of the menu. string ''
updateComplete

A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties .

Slots

Name Description
default The default slot.
expand-icon The icon to show when the navigation menu item is expanded. Works best with <gstock-icon>.
collapse-icon The icon to show when the navigation menu item is collapsed. Works best with <gstock-icon>.

Learn more about slots .

Custom Properties

Name Description Default
--indent-size The size of the indentation for nested items. var(–gstock-legacy-spacing-5)

Learn more about custom properties .

CSS Parts

Name Description
base The component’s base wrapper.

Learn more about CSS parts .