--- title: "Perspective - PDF Viewer" description: "The PDF Viewer component displays a PDF that's hosted on a web server by providing a URL to the source property." --- # Perspective - PDF Viewer > The PDF Viewer component displays a PDF that's hosted on a web server by providing a URL to the source property. ![](2018-12-19_16-42-12.png) **Component Palette Icon**: ![](2019-05-07_9-36-11.png) ## Description The PDF Viewer component displays a PDF that's hosted on a web server by providing a URL to the source property. A simple approach is to create either a File Resource or Mounted Folder within [Web Dev](ignition-modules/web-dev/web-dev.md), and set the source on the component to the resource's endpoint. ## Properties Most Properties have binding options. For more information on Bindings, see [Types of Bindings in Perspective](ignition-modules/perspective/working-with-perspective-components/bindings-in-perspective/bindings-in-perspective.md). This section only documents the Props Category of properties. The other Categories are described on the [Perspective Component Properties](ignition-modules/perspective/working-with-perspective-components/perspective-component-properties.md) page. | Name | Description | Property Type | | -------------- | ------------------------ | ------------------ | | showPageNumber | If true, the current page number and page count will be shown at the bottom of the component. | value: boolean | | source | Path to the .pdf file to be displayed. Expects a URL to a PDF hosted on a web server. | value: string | | style | Sets a style for this component. Full menu of [style options](appendix/reference-pages/style-reference.md) is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a [style class](ignition-modules/perspective/styles/style-classes/style-classes.md). | object | | page | The current page being displayed. | value: numeric | | pageCount | The number of pages the pdf contains. Read only. | value: numeric | ## Scripting See the [Perspective - PDF Viewer Scripting](perspective-pdf-viewer-scripting.md) page for the full list of scripting functions available for this component.