Open source
Licences
LeafPDF itself is released under the MIT licence. It is built on the work of the projects below, each under its own permissive licence.
LeafPDF
MIT © 2026 Anthony Sevilla. The full text is in the LICENSE file at the root of the repository, and the Apache-2.0 attributions it is required to carry are in NOTICE.
Runtime dependencies
This list is generated from package.json and the installed packages themselves by scripts/gen-licenses.mjs, and the build fails if it drifts from what is actually installed — so it cannot quietly go stale. Development-only tooling is excluded because none of it ships to your browser.
| Package | Version | Licence |
|---|---|---|
| @dnd-kit/core | 6.3.1 | MIT |
| @dnd-kit/sortable | 10.0.0 | MIT |
| @dnd-kit/utilities | 3.2.2 | MIT |
| @pdf-lib/fontkit | 1.1.1 | MIT |
| class-variance-authority | 0.7.1 | Apache-2.0 |
| clsx | 2.1.1 | MIT |
| idb-keyval | 6.3.0 | Apache-2.0 |
| lucide-react | 1.26.0 | ISC |
| next | 16.2.11 | MIT |
| next-themes | 0.4.6 | MIT |
| pdf-lib | 1.17.1 | MIT |
| pdfjs-dist | 4.10.38 | Apache-2.0 |
| react | 19.2.4 | MIT |
| react-dom | 19.2.4 | MIT |
| tailwind-merge | 3.6.0 | MIT |
| zod | 4.4.3 | MIT |