Landing
LandingMobileCtaBar
Fixed mobile bar with call, WhatsApp and the main action. Appears after the hero; shown inline here.
components/landing/LandingMobileCtaBar.vue
View in the demo
Example
Page widget: set mobileBar in the content. It appears on phones after scrolling past threshold.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
actionsrequired | LandingAction[] | — | A list of LandingAction. With more than one secondary action, the secondary ones show only their icon so the bar fits a phone. |
threshold | number | 480 | Pixels scrolled before the bar appears. |
inline | boolean | false | Renders in the flow of the page instead of fixed, for previews. |
hide-on | string[] | [] | Section selectors (#get-started) that hide the bar while they are in view, so it never repeats a CTA band. The section of its primary action is always included. |