---
title: "All features — Vanilla JS"
description: "Everything the viewer can do, how to turn a feature on or off, who the user is, and where each feature's settings go."
integration: "Vanilla JS"
other_integrations:
  "React": "https://www.embedpdf.com/docs/viewer/react/features.md"
  "Vue": "https://www.embedpdf.com/docs/viewer/vue/features.md"
  "Svelte": "https://www.embedpdf.com/docs/viewer/svelte/features.md"
  "Angular": "https://www.embedpdf.com/docs/viewer/angular/features.md"
source: "https://www.embedpdf.com/docs/viewer/vanilla/features"
---

# All features

Most features are on from the start; measuring, redaction, building forms and snapshots wait until
you turn them on. Turn features on or off with `features`, by the name in the first column:

```js
{ features: { measurement: true, redaction: true, comments: false } }
```

| Feature       | What people can do                                                                           | On from the start | Settings                                                                                                       |
| :------------ | :------------------------------------------------------------------------------------------- | :---------------- | :------------------------------------------------------------------------------------------------------------- |
| `annotations` | Highlight, underline and strike out text; draw; add notes, text boxes and callouts           | yes               | [Annotations](https://www.embedpdf.com/docs/viewer/vanilla/features/annotations.md)                            |
| `shapes`      | Draw rectangles, circles, lines, arrows and polygons                                         | yes               | [Annotations](https://www.embedpdf.com/docs/viewer/vanilla/features/annotations.md#the-tools)                  |
| `comments`    | Comment on annotations and reply, in a panel with every thread                               | yes               | [Annotations](https://www.embedpdf.com/docs/viewer/vanilla/features/annotations.md#comments)                   |
| `stamps`      | Place stamps: the standard ones, their own, or images                                        | yes               | [Annotations](https://www.embedpdf.com/docs/viewer/vanilla/features/annotations.md#stamps)                     |
| `signatures`  | Draw, type or upload a signature; sign fields; check signatures                              | yes               | [Forms & signatures](https://www.embedpdf.com/docs/viewer/vanilla/features/forms-and-signatures.md#signatures) |
| `forms`       | Fill in forms; build them in the Form mode                                                   | Filling only      | [Forms & signatures](https://www.embedpdf.com/docs/viewer/vanilla/features/forms-and-signatures.md)            |
| `redaction`   | Mark text and areas, then remove them from the file for good                                 | no                | [Annotations](https://www.embedpdf.com/docs/viewer/vanilla/features/annotations.md#redaction)                  |
| `measurement` | Measure distances, perimeters and areas at the drawing's scale                               | no                | [Annotations](https://www.embedpdf.com/docs/viewer/vanilla/features/annotations.md#measurements)               |
| `pages`       | Rotate, move, insert, duplicate and delete pages in the thumbnails panel, each step undoable | yes               | [Panels](https://www.embedpdf.com/docs/viewer/vanilla/customize/panels.md#organize-pages)                      |
| `attachments` | See, save, attach and remove files inside the PDF                                            | yes               | [Panels](https://www.embedpdf.com/docs/viewer/vanilla/customize/panels.md#the-attachments)                     |
| `search`      | Find text, with every match highlighted and listed                                           | yes               | [`plugins.search`](https://www.embedpdf.com/docs/headless/react/text/search.md#settings)                       |
| `text`        | Select and copy text                                                                         | yes               | [`plugins.selection`](https://www.embedpdf.com/docs/headless/react/text/selection.md#settings)                 |
| `snapshots`   | Copy or save part of a page as a picture                                                     | no                | [Documents](https://www.embedpdf.com/docs/viewer/vanilla/documents.md#take-a-snapshot)                         |
| `thumbnails`  | A picture of every page, to jump around                                                      | yes               | [Panels](https://www.embedpdf.com/docs/viewer/vanilla/customize/panels.md)                                     |
| `outline`     | The document's table of contents                                                             | yes               | [Panels](https://www.embedpdf.com/docs/viewer/vanilla/customize/panels.md)                                     |
| `documents`   | Open other files (with the local engine), download, print, several documents in tabs         | yes               | [Documents](https://www.embedpdf.com/docs/viewer/vanilla/documents.md)                                         |

## Turn features on and off

A feature that's off is gone everywhere at once: its buttons, its mode tab, its panel, its menu
rows and its shortcuts. Annotations already in the document still show; people just can't add new
ones. Most features have parts you can turn on or off on their own, such as `'forms.building'` or
`'documents.download'`.

`features` follows its prop, so a feature can come and go while the viewer runs, for example when
a user's plan changes.

[Turn features on and off](https://www.embedpdf.com/docs/viewer/vanilla/features/turning-off.md) has every feature and part, read-only, and what to
use when: `features` for what people can do, the layout for where a button goes, and the scope for
what a user may do.

## Who the user is

The user's name becomes the author of the annotations and comments they make:

```js
{ identity: { displayName: 'Ada Lovelace' } }
```

## Each feature's settings

Every feature is a headless plugin, and `plugins` takes its settings by the plugin's name, exactly
as the plugin's page lists them:

```js
{
  plugins: {
    stage: { spread: 'odd', zoom: { mode: 'fit-width' } },
    search: { highlight: { color: '#a7f3d0' } },
    annotation: { tools: [{ id: 'highlight', defaults: { color: '#fde047' } }] },
  },
}
```

That opens documents as two-page spreads at the page's width, with green search matches and
yellow highlights. See [Plugins](https://www.embedpdf.com/docs/viewer/vanilla/code/plugins.md) for every plugin and how to change its settings
while the viewer runs.

## Good to know

### What loads when

A feature that's off is still in the viewer's code: `features` changes what people see, not what
you ship. The first load stays small another way. Each feature's panels and dialogs are files of
their own, which the viewer fetches in the background once the document shows, so they open at
once. The heavier parts wait until they're used: the signature checks until a signature is
checked, the standard stamps until Stamps opens, the handwriting fonts until someone types a
signature, and each language until it's chosen. [How it works](https://www.embedpdf.com/docs/viewer/vanilla/concepts/how-it-works.md#what-loads-when)
has the whole order.
