qmetrics.net

react-pdf

React renderer for generating PDF documents

Frameworks & PlatformsDesktop/CLI app
react-pdf screenshot

@react-pdf/renderer lets developers define PDF layouts with React components. The same documents render in the browser or on Node as files, streams, or blobs.

Overview

react-pdf, published as @react-pdf/renderer, is a React renderer aimed at authoring PDF documents with familiar component syntax instead of low-level PDF APIs. It is meant for creating new PDFs programmatically, distinct from viewers that display existing PDF files.

Documents are built as React element trees. Layout relies on Yoga flexbox semantics, supporting rows, columns, wrapping, and absolute positioning similar to web flex layouts. Rendering targets both client-side environments and Node so reports can be generated on demand or in backend jobs.

Support includes custom fonts, images, SVG, form fields, hyphenation, and control over page breaks. Output can be saved to disk on the server, streamed, or produced as blobs in the browser. Guides and an online playground show multi-section report layouts.

Installation is via npm for JavaScript projects already using React. The package sits in application dependency trees as a library imported into code rather than a standalone desktop or hosted service.

Key features

  • React component PDF authoring
  • Browser and Node rendering
  • Flexbox layout via Yoga
  • Custom fonts and images
  • SVG and form fields
  • Page break control
  • Stream, blob, or file output
  • Interactive documentation playground

Use cases

  • Programmatic business reports
  • Server-generated invoice PDFs
  • Client-side PDF export buttons
  • Data-driven printable documents

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT