Landing
LandingNavBar
Navigation bar with logo, section links, theme and language settings and a CTA. LandingHeader makes it sticky and adds the mobile menu and scroll spy.
components/landing/LandingNavBar.vue
View in the demo
Example
API
Props
Name | Type | Default | Description |
|---|---|---|---|
itemsrequired | LandingNavItem[] | — | The entries of the block. |
active-index | number | — | The index of the active link. |
action | LandingAction | — | A LandingAction: label plus to or href, and kind. |
Slots
Name | Slot props | Description |
|---|---|---|
#actions | — | Extra controls at the end. |
Events
Name | Payload | Description |
|---|---|---|
@open-drawer | — | The menu button was pressed. It replaces the links below the lg breakpoint (1280px), so they never overflow on tablets and small laptops. |