# PdfViewerSource (@salmonui/pdf-viewer)

> The PdfViewerSource type of @salmonui/pdf-viewer: A document: a URL (string or URL) or the bytes (ArrayBuffer, Uint8Array, Blob).

Canonical: https://salmonui.dev/docs/reference/pdf-viewer/PdfViewerSource

```ts
import type { PdfViewerSource } from '@salmonui/pdf-viewer';
```

Entry index: https://salmonui.dev/docs/reference/pdf-viewer (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pdf-viewer.md).

## Reference

Kind: type

```ts
type PdfViewerSource = string | URL | ArrayBuffer | Uint8Array | Blob;
```

A document: a URL (string or `URL`) or the bytes (`ArrayBuffer`, `Uint8Array`, `Blob`).
