# PDF preview - PdfViewer

{% hint style="info" %}
The availability of functionality depends on the license and may not be available in all deployments.
{% endhint %}

## PDF reader component

![Figure 1. Example appearance of the component in the application](https://content.gitbook.com/content/2CssJT0zIo4SJQLbSZ6l/blobs/ZH99o1v6LvDryr9i8aXi/18k_files/image2025-5-23_8-38-27.png)

### Component properties

| Eximee Designer properties                                                         | Attribute name in Source | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ---------------------------------------------------------------------------------- | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>Link to PDF</strong><br>(section <strong>Basic properties</strong>)</p> | pdfUrl                   | <p>A relative path (in the form "/app/biz/NAME.pdf") to a file located in the folder on the "/var/www/html/app/biz" environment, or an external link, but in that case it must meet the CORS policy requirements (the Access-Control-Allow-Origin header set appropriately).</p><p>By default, the property is set to empty.</p><p>Entering an incorrect URL or not entering one at all causes an error and prevents completing the application after attempting to display the PDF.</p> |

> More information about the component properties: [Common component properties](https://docs.eximee.com/documentation/documentation-en/budowanie-aplikacji/interfejs-uzytkownika/formularze/praca-z-komponentami-bazowymi/wspolne-wlasciwosci-komponentow)

{% hint style="info" %}
Demo applications: demoPdfViewer
{% endhint %}
