React-PDF is a React library for displaying existing PDF documents directly inside web applications. It uses PDF.js underneath while exposing React components such as Document and Page for integration. PDF files can come from URLs, Base64 data, Uint8Arrays, and other supported sources. Individual pages can render text and annotation layers, including clickable PDF links. Developers can configure PDF.js workers, fonts, character maps, and WebAssembly assets for specialized documents. The library supports modern browsers and can also be used with Preact. It is intended for PDF viewing rather than PDF creation and includes examples and recipes for advanced implementations.

Features

  • React Document and Page components
  • URL, Base64, and binary PDF sources
  • Selectable text layer rendering
  • Interactive PDF annotation support
  • Custom PDF.js worker configuration
  • Non-Latin fonts and JPEG 2000 support

Project Samples

Project Activity

See All Activity >

Categories

PDF

License

MIT License

Follow React-PDF

React-PDF Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of React-PDF!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript PDF Software

Registered

2026-08-13