---
title: DownloadApp
---

import LibraryInfo from '@theme/LibraryInfo'
import { Feedback, TokensTable, PropsTable } from '../../src/components'
import { DownloadApp } from '@telus-uds/components-web'
import { DownloadApp as BaseDocs } from 'docs/@telus-uds/components-base'
import AvailableOnBoth from '../../partials/_platform-considerations-both.mdx'

# DownloadApp

<LibraryInfo figmaLink="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Ffile%2F4zJn2Qn6uXOqPP1GVDipy6%2F%25F0%259F%258D%2580-Allium-Components%3Fnode-id%3D224%253A463" />

```jsx live
<DownloadApp href="https://www.telus.com" />
```

## Introduction

DownloadApp is a component with the visual appearance of a download button for Android PlayStore or iOS AppStore.

[Follow the appropriate instructions](importing-components) to add this component in to your app.

## Guidance

Use `DownloadApp` where a user needs to download a mobile application from Play Store or App Store.

## iOS

By default, it renders an App Store button.

```jsx live
<DownloadApp href="https://www.telus.com" />
```

## Android

```jsx live
<DownloadApp type="android" href="https://www.telus.com" />
```

### Platform considerations

<AvailableOnBoth />

On web, `DownloadApp` will render as an `<a>` anchor link if a `href` is provided, allowing for
common link actions such as open in a new tab.

On native apps, links to web addresses will be opened according to the user's device's link handling
behaviour: usually opening the user's default browser (or choice of browsers) with a back action to return
to the app.

## Props

<PropsTable base={BaseDocs} />

## Tokens

<TokensTable base={BaseDocs} component="DownloadApp" />

## Feedback

<Feedback component="DownloadApp" />
