View and Interact with PDFs in React, SolidJS, Svelte and JavaScript apps
PDFSlick is a library that allows for the viewing and interaction with PDF documents within React, SolidJS, Svelte, and JavaScript applications. It leverages Mozilla’s PDF.js and utilizes Zustand for a reactive store for the loaded documents, making it easier to integrate PDF functionality in these frameworks.
To install PDFSlick for React:
npm install @pdfslick/react
To install PDFSlick for SolidJS:
npm install @pdfslick/solid
To install PDFSlick for Svelte:
npm install @pdfslick/svelte
PDFSlick is a versatile library that simplifies the integration of PDF functionality in React, SolidJS, Svelte, and Vanilla JavaScript applications. By providing components like PDFSlickViewer and a reactive store, it offers an easier way to work with PDF documents within these popular frameworks.