---
description: >-
  An embedded PDF file from a URL. It supports automatic scaling the content to
  fit either the width or height of the component.
---

# File PDF Viewer

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F7qJemVDSyErUYJY5sGSg%2Fimage.png?alt=media&#x26;token=91284617-9d62-48df-a17c-34927ce500d0" alt=""><figcaption></figcaption></figure>

1. Drag-and-drop **File Viewer** from Component Library in Visual Builder.

![](https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F8xbc55r2qFja6zOzvQnA%2Fimage.png?alt=media\&token=4f1308cd-3b4a-4d90-97e1-65cb6de643b6)

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F42Jfnjo0oVUtMvihXGhk%2Ffile_viwer.gif?alt=media&#x26;token=4c0687dd-92e9-45eb-bc29-eb854c0ce9d5" alt=""><figcaption></figcaption></figure>

There are two Viewer types:&#x20;

* Browser built-in. Faster, works with non-public URLs
* Google File Viewer. More supported formats

![](https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F93RYoDnM83iaeiBoi6pY%2Fimage.png?alt=media\&token=a7eac3ba-44f5-49e9-bd12-9ca10282fb63)
