Skip to content

Overview

The @vue-pdf-viewer/annotation plugin extends the capabilities of the Vue PDF Viewer (@vue-pdf-viewer/viewer) by adding comprehensive annotation features. It enables users to interact with PDF documents by creating, editing, and managing annotations directly within the viewer.

Key Features

  • Text Selection Annotations – Annotate selected text with different styles:
    • Highlight – Highlight selected text in different colors.
    • Underline – Underline selected text with customizable colors.
    • Strikethrough – Strike through selected text with customizable colors.
  • Free Text Annotations – Add editable text boxes anywhere on the page.
  • Image Overlay – Insert images anywhere on the page.
  • Customizable Appearance – Configure colors, fonts, opacity, and stroke styles.
  • Persistent Storage – Print the PDF with updated annotations or download it to save the annotations in a new PDF file for later use.

Supported Annotations

AnnotationDescriptionVersion
Text SelectionAnnotate selected text using highlight, underline or strikethrough with different colors1.3.0
Free TextAdd text content with different font sizes and colors1.0.0
Image OverlayAdd images based on file size and type.
Remark: Support apng, avif, bmp, gif, jpeg, png, svg+xml, webp and x-icon file types.
1.0.0