PDF-Ajaib is a Vue 3 library that provides a powerful PDF viewer component with a precise object placement feature for displaying PDF documents in Vue applications. The library is based on the PDF component from Persona Design System, ensuring top-notch functionality.
yarn add @privyid/pdf-ajaib
npm install @privyid/pdf-ajaib
To use PDF-Ajaib in your Vue application, first, import it into your component:
import { PdfViewer } from '@privyid/pdf-ajaib'
Then, use the pdf-viewer component in your template:
<pdf-viewer src="https://privy-open-source.github.io/design-system/assets/Calibrator-v3.e869f66c.pdf" />
For more information on using PDF-Ajaib, please see the Persona Design System documentation.