# Scan QR code (external URL)

{% 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]
```

![](/files/-MedlAPmUF46_YMWQkYH)

### 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
