Easily display PDFs in your React app.

by Wojciech Maj

Sponsor ❤️See on GitHub

Easy

Place Document component and pass a file prop to it. URL, File, base64, you name it - React-PDF will figure it out. Then, create Page component inside and you're done!

Packed with features

React-PDF's ease of use does not come at the cost of functionality. It comes with support for custom events, multiple rendering methods and support for text selection and annotations.

Accessible

React-PDF not only renders PDFs as images, but also as transparent text layers that can be read by screen readers, helping visually impaired to access your content.

Open

We believe that the only way to make progress is to share. In our professional work, we have always relied on dozens of libraries created by other developers. That's why React-PDF is free, open-source and will remain so.