Landing
LandingHeader
The sticky header of a landing: the navbar plus the drawer it opens below 1280px, with the active section tracked on scroll.
components/landing/LandingHeader.vue
Internal part
This is an internal part of LandingPage. You normally use it through LandingPage, but it is documented so you can customise or reuse it.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
nav-itemsrequired | LandingNavItem[] | — | The navigation links. |
action | LandingAction | — | A LandingAction: label plus to or href, and kind. |
secondary-action | LandingAction | — | A second call to action next to the main one, shown as a secondary button. |
sample | boolean | false | Marks the landing as a fictional sample, so the demo bar above the header always shows. |
Slots
Name | Slot props | Description |
|---|---|---|
#nav-actions | — | Extra controls in the navbar. |