# Download A QR Code

The generated QR Code can be downloaded as :&#x20;

* PNG
* JPEG
* SVG
* Webp

The 'Download A QR Code' Action would most likely be triggered from a button press but could also be triggered on page load or any other type of event.

<figure><img src="https://3172786800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bDlj4i7nUWwEh1HscST%2Fuploads%2FfqwEl5MmboDST9ZAQMAO%2F9.png?alt=media&#x26;token=852243d7-6b27-445f-8b24-98ce8f9a1a2b" alt=""><figcaption></figcaption></figure>

### Element

This is the element of the QR Code that you added to your app.

### File Name

The file name that is given to your file when download. This can be manually entered or dynamic

### File Type

The file type to download.

### Dynamic File Type

You can also set the file type dynamically by selecting the 'Allow Dynamic File Type' checkbox. You can then enter the dynamic value in the 'Dynamic File Type' field. This is useful to allow something such as drop down form field to pass the file type through to the action.

When passing a dynamic file type please pass the file type as a lower case text string i.e 'png', 'jpeg', 'svg' or 'webp'

<figure><img src="https://3172786800-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6bDlj4i7nUWwEh1HscST%2Fuploads%2FCAmJ771bqfQqlXnQfmdx%2F10.png?alt=media&#x26;token=42f2fc91-18ff-4fd6-8607-5cbe56e0e6fd" alt=""><figcaption></figcaption></figure>
