react-pdf

React PDF renders PDF documents in the browser and on the server using React.

react-pdf.org
react-pdf homepage screenshot

About react-pdf

React PDF is a React renderer for creating PDF files. It can run on the server in Node or directly in the browser. A single document can be output as a file, a stream, or a blob. Documents are built with React components, and layout uses Yoga, which brings flexbox-style rows, columns, wrapping, and absolute positioning to the page. The library is installed from npm as @react-pdf/renderer, and the homepage links to an online playground.

The homepage describes support for custom fonts, images, SVG, form fields, hyphenation, and page-break control. It does not describe pricing, and pricing is recorded as unknown. The directory lists the project as not open source and gives no repository link.

Key features

  • Renders the same document to a file, a stream, or a blob
  • Runs in Node on the server or directly in the client
  • Flexbox-style layout with rows, columns, wrapping, and absolute positioning
  • Support for custom fonts, images, and SVG
  • Form fields in generated PDF documents
  • Hyphenation and page-break control
Best for: Developers who already build interfaces with React and need to generate PDF documents in the browser or on a Node server.
Good for
  • One document definition can be rendered in Node or in the browser
  • Layout follows flexbox concepts that React developers may already know
  • Covers common document needs such as fonts, images, SVG, and page breaks

react-pdf at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

react-pdf alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

react-pdf FAQ

How do I install React PDF?
The homepage gives the install command $npm install @react-pdf/renderer.
What output formats can a document be rendered to?
The homepage states that the same document renders to a file, a stream, or a blob.
Does it support custom fonts and images?
The homepage lists custom fonts, images, and SVG among its supported features.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing