# pdfslick/pdfslick

View and Interact with PDFs in React, SolidJS, Svelte and JavaScript apps

Repository: https://github.com/pdfslick/pdfslick
Canonical: https://ross.abutalabs.com/products/pdfslick
Homepage: https://pdfslick.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: pdf, pdfjs, pdf-viewer, pdfslick, react, solid, solidjs, reactjs, solid-js, svelte, sveltejs
Last push: 2026-08-09T21:48:08+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 96, longevity 87
- inputs: {"age_days": 1226, "days_push": 24, "days_rel": 24, "gap_med": 12, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1080, forks 54 (observed 2026-08-28T04:03:30.471294+00:00)

## What it is
PDFSlick is a library for viewing and interacting with PDF documents in React, SolidJS, Svelte, and vanilla JavaScript apps. It wraps Mozilla's PDF.js with a reactive Zustand store and framework-specific components and hooks.

## Use cases
- embed a pdf viewer in a react app
- display pdf documents with thumbnails and navigation in svelte
- build a custom pdf viewer with zoom and page controls
- render multiple pdf documents in a single web app
- add pdf comments and annotations ui to a web application
- integrate pdf.js into modern javascript frameworks

## When to choose
- you need a React, SolidJS, or Svelte component-based PDF viewer
- you want reactive access to viewer state like current page and scale
- you want PDF.js power without wiring vanilla JS into your framework manually

## When to avoid
- you need a standalone desktop PDF reader application
- you only need to extract or parse text/data from PDFs rather than display them
- your stack excludes React, SolidJS, Svelte, and vanilla JS

## Facets
- artifact type: library
- maturity: active
- function: pdf-viewer, ui-components, state-management
- domain: pdf, frontend, web-development
- platform: cross-platform
- tags: pdfjs, react, solidjs, svelte, zustand, document-viewer, web-server, nodejs

## Member repositories
- pdfslick/pdfslick (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:30.471294+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:00.365763+00:00, confidence not recorded.
  - readme: https://github.com/pdfslick/pdfslick (fetched 2026-08-28T04:03:30.471294+00:00, sha 9c980ea95e2e)
  - homepage: https://pdfslick.dev (fetched 2026-08-29T12:53:51.665512+00:00, sha 3389eae7e57e)
  - site_page: https://pdfslick.dev/docs (fetched 2026-08-29T12:53:51.674385+00:00, sha 5b52abc2054c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
