Landing
LandingAppBanner
Top banner on mobile to open the app. Picks the store from the system, only shows on iOS and Android and remembers dismissal in a cookie.
components/landing/LandingAppBanner.vue
View in the demo
Example
Page widget: set appBanner in the content. It shows only on the matching phone OS (useDevicePlatform()) and remembers dismissal in a cookie.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
namerequired | string | — | The app name. |
storesrequired | BaseStoreLink[] | — | App store links or ratings. |
subtitle | string | — | A line under the name. |
inline | boolean | false | Renders in the flow of the page instead of fixed, for previews. |