# App Download Section

> A mobile app promo: a drawn phone with a mini app, store buttons, a QR code to the download page, the rating and feature bullets.

- Type: React block (Marketing Sections)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.0.0
- Install: `npx wingo-ui@latest add app-download-section`
- Docs: https://wingo-ui.com/components/app-download-section

## Interaction

A static section with real links: the store buttons (generic buttons with a glyph and the store name, no real store logos) are links of at least 48px that press in slightly when tapped and show the focus ring when tabbed to. From 1024px a QR code sits under them so desktop visitors can scan the download page with their phone; phones get the store buttons only. The stars are read-only and read as Rated 4.8 out of 5. The phone is drawn in code (status bar, Today list, a progress card in the tone, a tab bar) and themes itself; screen readers hear it as one image. split puts the copy beside the phone with a push notification floating off its edge, centered puts the heading on top and the phone between two feature columns, fading out at the bottom, and card sets everything on a tone panel with the phone rising from its bottom edge; every layout stacks to one column on phones.

## Installation

```bash
npx wingo-ui@latest add app-download-section
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/app-download-section` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/blocks/app-download-section.tsx`

npm dependencies: `npm i lucide-react`

Wingo UI dependencies (installed automatically):

- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [QR Code](https://wingo-ui.com/components/qr-code) ([Markdown](https://wingo-ui.com/components/qr-code.md))
- [Rating](https://wingo-ui.com/components/rating) ([Markdown](https://wingo-ui.com/components/rating.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/mobile/page.tsx
"use client"

import Link from "next/link"
import { Play, Smartphone } from "lucide-react"
import { AppDownloadSection } from "@/components/blocks/app-download-section"

export default function MobilePage() {
  return (
    <AppDownloadSection
      linkComponent={Link}
      layout="split"
      title="Your workspace, on every phone"
      qrValue="https://acme.com/download"
      rating={4.8}
      reviewCount={12400}
      stores={[
        { caption: "Download on the", label: "App Store", href: "https://apps.apple.com/app/id000000000", icon: <Smartphone /> },
        { caption: "Get it on", label: "Google Play", href: "https://play.google.com/store/apps/details?id=com.acme", icon: <Play /> },
      ]}
    />
  )
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow?` | `ReactNode` | `"Mobile apps"` | The small line over the title. |
| `title?` | `ReactNode` | `"Acme in your pocket"` | The section title. |
| `description?` | `ReactNode` | `"Check off tasks, answer comments and catch up on your team's day from anywhere. Everything syncs the moment you are back online."` | The paragraph under the title. |
| `actions?` | `ReactNode` |  | Extra buttons under the description. |
| `layout?` | `"split" \| "centered" \| "card"` | `"split"` | split: copy, bullets and downloads beside the phone; centered: heading and downloads on top, the phone between two feature columns; card: a tone panel with the phone rising from its bottom edge. |
| `reverse?` | `boolean` | `false` | split: the phone on the left from 1024px. |
| `features?` | `AppDownloadFeature[]` | `"APP_DOWNLOAD_FEATURES_SAMPLE"` | The bullets: icon, title and an optional line (the card layout shows titles with a check). |
| `stores?` | `AppDownloadStore[]` | `"APP_DOWNLOAD_STORES_SAMPLE"` | The store buttons: caption, label, href, a lucide icon and an optional aria-label. |
| `storeVariant?` | `"solid" \| "outline"` | `"solid"` | Store buttons as solid dark pills or outlined on the surface. |
| `rating?` | `number` | `4.8` | The store rating out of 5, drawn proportionally. 0 hides the row. |
| `reviewCount?` | `number` | `12400` | The number of reviews, formatted for the locale. |
| `showRating?` | `boolean` | `true` | Shows the stars and review count. |
| `qrValue?` | `string` | `"https://acme.com/download"` | The download page the QR code opens. Empty hides the code. |
| `showQr?` | `boolean` | `true` | Shows the QR code from 1024px; phones get the store buttons only. |
| `showNotification?` | `boolean` | `true` | The push notification floating beside the phone (split at 768 to 1023px and from 1280px, card from 1280px). |
| `screen?` | `ReactNode` |  | Replaces the drawn app inside the phone, e.g. a screenshot. |
| `phone?` | `Partial<AppDownloadPhoneContent>` | `"APP_DOWNLOAD_PHONE_SAMPLE"` | The copy inside the drawn phone: time, date, heading, user, project, progress, tasks and the notification. |
| `phoneColor?` | `string` | `"#0A0A0A"` | The phone frame and its camera pill. |
| `radius?` | `"sm" \| "md" \| "lg" \| "full"` | `"md"` | Store buttons 8 / 12 / 14px or pills; the card panel and QR tile follow. |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Icon tiles, the app's progress card and notification tile, and the card panel. |
| `color?` | `string` | `""` | Any CSS color; replaces the tone. Leave empty to use the tone. |
| `ratingTone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"warning"` | The star fill; amber by default. |
| `background?` | `"none" \| "muted"` | `"none"` | muted sets the section on a gray band. |
| `spacing?` | `"none" \| "sm" \| "md" \| "lg"` | `"md"` | Vertical padding of the section. |
| `width?` | `"sm" \| "md" \| "lg" \| "xl"` | `"lg"` | The content column: 720, 960, 1200 or 1400px. |
| `headingAs?` | `"h1" \| "h2" \| "h3"` | `"h2"` | The title element; h3 when the section sits under another h2. |
| `locale?` | `string` | `"en-US"` | Formats the rating and review count; default the UIProvider's locale, else en-US. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` |  | The router link for the store buttons (next/link in an app); default the LinkProvider's. |
| `labels?` | `Partial<AppDownloadLabels>` |  | stores, reviews, ratingLabel, qrTitle, qrDescription, qrImage and phone. |
| `className?` | `string` |  | Classes for the <section>. |
| `classNames?` | `Partial<Record<AppDownloadSlot, string>>` |  | Classes for copy, features, feature, feature-icon, stores, store, rating, qr, visual, phone, screen and notification. |

## Parts

### APP_DOWNLOAD_FEATURES_SAMPLE (constant)

Four app features: offline, notifications, Face ID, widgets.

### APP_DOWNLOAD_STORES_SAMPLE (constant)

App Store and Google Play buttons linking to /download/ios and /download/android.

### APP_DOWNLOAD_PHONE_SAMPLE (constant)

The drawn app's copy: Emma Carter's Today list in launch week and a notification from Noah Mitchell.

### DEFAULT_APP_DOWNLOAD_LABELS (constant)

The English strings.

### AppDownloadFeature (type)

One feature bullet beside the phone: an icon, a title and a short line.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `icon?` | `ReactNode` |  | A lucide icon in the tile; a check when empty. |
| `title` | `ReactNode` |  | The feature name. |
| `description?` | `ReactNode` |  | One short line. |

### AppDownloadStore (type)

One store button: a caption, the store name, its link and an optional icon.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `caption` | `ReactNode` |  | The small line, e.g. Download on the. |
| `label` | `ReactNode` |  | The store name. |
| `href` | `string` |  | The store or redirect url. |
| `icon?` | `ReactNode` |  | A lucide glyph. |
| `ariaLabel?` | `string` |  | The link name when caption or label are not strings. |

### AppDownloadTask (type)

A task row in the drawn app: title, meta and done.

### AppDownloadPhoneContent (type)

The copy inside the drawn phone.

### AppDownloadSectionProps (type)

Props of AppDownloadSection.

## Examples

- **Split with brand accents**: Copy, bullets, store buttons and the QR code beside the phone; the app's progress card takes the marketing orange.
- **Centered**: Heading and downloads on top, the phone between two feature columns, fading into the page.
- **Card**: A dark panel with the phone rising from its bottom edge, outlined store buttons and check bullets.
- **Card in a custom color**: The card panel in a custom blue with solid store buttons and no QR code.
- **Phone on the left**: The split layout reversed, outlined store buttons and a light phone frame.

## See also

- [QR Code](https://wingo-ui.com/components/qr-code) ([Markdown](https://wingo-ui.com/components/qr-code.md))
- [Rating](https://wingo-ui.com/components/rating) ([Markdown](https://wingo-ui.com/components/rating.md))
- [CTA Section](https://wingo-ui.com/components/cta-section) ([Markdown](https://wingo-ui.com/components/cta-section.md))
- [Feature Grid](https://wingo-ui.com/components/feature-grid) ([Markdown](https://wingo-ui.com/components/feature-grid.md))
- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))

---

Canonical: https://wingo-ui.com/components/app-download-section
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
