# PDF (https://openknowledge.ai/docs/reference/components/pdf)

Embedded PDF viewer (`#page=N` to open at page N, `#height=N` for viewer height)

## Example

```mdx
<Pdf src="" title="Title" />
```

## Props

| Prop | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `src` | `string` | yes |  | PDF source URL |
| `title` | `string` | no |  | Accessible label for the embedded PDF viewer |
| `anchor` | `string` | no |  | PDF viewer parameters as a single URL-fragment string (e.g. \`page=3\&height=600\`) |

*Also matches:* `pdf`, `document`, `embed`, `pdfjs`

## Author it

Type `/pdf` in the editor to insert it from the slash menu, or write the tag directly in source mode. The Properties panel on the right of the editor exposes every prop above as a form field once the block is selected.