> For the complete documentation index, see [llms.txt](https://docs.bravostudio.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bravostudio.app/bravo-tags/mobile-actions/scan-qr-code.md).

# Scan QR code (external URL)

Open the camera to scan QR codes.

{% hint style="info" %}
This feature is available with the [Advanced and Business add-ons](https://www.bravostudio.app/pricing).
{% endhint %}

## 👉 The tag

The element with this tag will open the phone camera to allow app users to scan a QR code and open the link in a web browser.

**📍 Where to add the tag:** Any UI element layer (not page level or container level)

```
[action:scanqr]
```

![](https://1444025092-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MXpqEanvOhm8vMtIH8i%2F-MedUHZ4PMMGHLuCVVWW%2F-MedlAPmUF46_YMWQkYH%2Fqr-code.gif?alt=media\&token=a2b8aa28-f5df-4319-8333-acf203f6c093)

### Complementary tag: Visor design

**Visor design:** Add a design that overlays the camera screen to show your users where they should place the QR code.

**📍 Where to add the tag:** page level&#x20;

```
[qr:page-visor]
```

{% hint style="warning" %}
**Note:** This is only supported in **iOS**. In Android, the visor design will not show. To return to the previous page in Android, use the back button on the bottom navigation bar.
{% endhint %}

#### Other helpful tags

{% content-ref url="/pages/-MflkMRna1UrV9OI71iK" %}
[Aspect ratio relative to screen](/bravo-tags/containers/aspect-ratio-relative-to-screen.md)
{% endcontent-ref %}

## 🏗 How to add the tag

{% content-ref url="/pages/-MXrEeGwIxR1H9L8F1ba" %}
[Bravo Tags: adding functionality to the UI elements](/set-up-design/setting-up-your-design-file/what-are-bravo-tags.md)
{% endcontent-ref %}

## 💾 Example file

Duplicate the file below to see how to set it up!

{% embed url="<https://www.figma.com/community/file/982583805572191923/Bravo-sample%3A-QR-Code-Scanner>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bravostudio.app/bravo-tags/mobile-actions/scan-qr-code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
