Download links for App Store and Google Play drawn from tokens with a generic icon and plain text — no store artwork to license — plus any other store, and an optional QR code shown on wide screens so a desktop visitor can jump to their phone.
Installation
The whole kit as one package — get updates by bumping the version. Add the styles to globals.css: @import "@vamos-ui/react/styles.css";
Usage
import { StoreBadges } from "@vamos-ui/react";
<StoreBadges appStore={links.ios} googlePlay={links.android} qr="https://example.com/get-the-app" />Each badge is a plain link whose name is its visible text ("Get it on Google Play"); the list is named "Get the app".
The stores' own badge artwork has usage rules. If your brand guidelines require it, replace the badges with the official files; this component never ships them.
The QR code is hidden below the lg breakpoint, where the visitor is most likely already on a phone.
Examples
Outline, large, more stores, labels
variant="outline" on busy backgrounds, size="lg" for heroes, stores for any other download, labels for the wording.
API
StoreBadges
| Prop | Type | Default |
|---|---|---|
appStore / googlePlayStore links; a badge appears for each one given. | string | — |
storesMore badges after the two above. | { href, lead, name, icon? }[] | — |
qrQR code beside the badges on wide screens: a URL (a link that redirects to the right store is best) or true for the first store link. | boolean | string | — |
variantInverted pills or bordered on the surface. | "solid" | "outline" | "solid" |
sizeBadge and QR size. | "md" | "lg" | "md" |
labelsDictionary namespace "storeBadges": label, appStoreLead, appStoreName, googlePlayLead, googlePlayName, qr, qrCaption. | Partial<StoreBadgesLabels> | — |