Blog
Engineering notes on PDFs in the browser.
Guides, release notes and what we learn building the Kernstra Web SDK, a JavaScript PDF viewer and editor for your web app.
RSS feedReact PDF viewer: a complete react-pdf 11 example
Build a React PDF viewer with react-pdf 11 and Suspense: every page, zoom, text search, a Next.js setup, the errors you'll meet, and when you need an editor.
<Suspense fallback={<p>Loading…</p>}> <Document file="/files/report.pdf"> <Page pageNumber={1} /> </Document> </Suspense>25 Nov 2026 · 13 min readRead the post
Earlier posts
2 posts- 25 Nov 2026Guide
React PDF viewer: a complete react-pdf 11 example
Build a React PDF viewer with react-pdf 11 and Suspense: every page, zoom, text search, a Next.js setup, the errors you'll meet, and when you need an editor.13 min read - 25 Nov 2026Guide
JavaScript PDF viewer: a complete PDF.js 6 example
A working PDF.js 6 example of a JavaScript PDF viewer, with every page, zoom, selectable text and search. Plus common errors, and when you need an editor.12 min read - 25 Nov 2026Guide
How to embed a PDF in HTML: iframe, object and embed
To embed a PDF in HTML, use an iframe with a title, a height and a download link. Plus why it fails on mobile, why it goes blank, and what to use instead.8 min read