Open Source • Powered by PDFium

Build your React PDF Viewer

your way

Choose between a complete viewer with built-in UI or composable, headless components for total control. Open source and powered by PDFium.

Works Seamlessly With Your Favorite UI Framework

Material UI
Chakra UI
Tailwind CSS
shadcn/ui
Ant Design
Radix UI

...and any other React UI library or CSS framework

Choose Your Integration Path

Build it your way

Start with a full-featured viewer or build your own from composable primitives

Full-UI React PDF Viewer

Drop in a complete viewer with toolbar, search, and annotations. Ready to use out of the box with zero configuration.

What you'll get

  • Complete UI Components

    Includes toolbar, zoom, search, and annotation out of the box

  • Zero Configuration

    One-line integration, zero configuration required

  • Full API Control

    Programmatically navigate, zoom, or toggle features

Headless React PDF Components

Build your own custom PDF viewer with low-level components. Full control over rendering, interactions, and UI.

What you'll get

  • Modular Plugin System

    Render, tiling, annotation, redaction, and more

  • Complete Control

    Build your own viewer with viewport, zoom, pan, and scroll control

  • Framework Agnostic

    Works with MUI, Radix, shadcn/ui, or your own components

EmbedPDF vs Traditional PDF Viewers

See how our headless approach compares to traditional solutions

FeatureEmbedPDFTraditional Viewers
Custom UI Design
Limited
UI Framework Support
None
TypeScript Support
Modular Features
Monolithic
Bundle SizeMinimalLarge
Open Source
Often Paid

Simple. Powerful. Flexible.

Get started with just a few lines of code. Works with any React setup.

PDFViewer.tsx
import { EmbedPDF } from '@embedpdf/core/react';
import { usePdfiumEngine } from '@embedpdf/engines/react';

export default function PDFViewer() {
  const { engine } = usePdfiumEngine();

  return (
    <EmbedPDF engine={engine} plugins={plugins}>
      {/* Your UI components here */}
    </EmbedPDF>
  );
}

Everything You Need for Modern PDF Viewing

A complete toolkit with all the features your users expect

🔍

Zoom & Pan

Smooth zooming with fit-to-page, fit-to-width, and marquee zoom modes.

📝

Text Selection

Native-feeling text selection with copy-to-clipboard support.

🔎

Search

Fast full-text search with result highlighting and navigation.

✏️

Annotations

Add highlights, comments, drawings, and stamps to PDFs.

🖼️

Thumbnails

Sidebar with virtualized page thumbnails for quick navigation.

⚙️

And More...

Print, export, rotate, capture, redaction, and customizable toolbars.

Frequently Asked Questions

Everything you need to know about our React PDF Viewer

Ready to Build Your React PDF Viewer?

Join thousands of developers using EmbedPDF to create amazing PDF experiences