Components
BaseStoreBadge
A download button for an app store, with the store icon and translated labels.
components/ui/BaseStoreBadge.vue
View in the demo
Variants
API
Props
Name | Type | Default | Description |
|---|---|---|---|
storerequired | BaseStore | — | The store: appStore, googlePlay, macAppStore or microsoftStore. |
hrefrequired | string | — | The link to your app in that store. It opens in a new tab. |
variant | BaseStoreBadgeVariant | "solid" | solid (dark button) or outlined. |
compact | boolean | false | A shorter badge that shows only the store name. |
The labels (“Download on the”, “Get it on”…) come from stores.* in locales/<code>/common.json, so they follow the language.