Best React (Next.js) PDF libraries?
I'm looking for a good PDF viewer library in Next.js
Solution:Jump to solution
All browsers have a built-in pdf viewer. You can just create an iframe with a pdf source.
3 Replies
Solution
All browsers have a built-in pdf viewer. You can just create an iframe with a pdf source.
React-pdf
React renderer for creating PDF files on the browser and server
If you only need to view pdfs I'd use an iframe. Otherwise if you need to actually make the pdfs as well, I'm a big fan of react-pdf for that.