diegomura/react-pdf (12.5k ⭐) — React renderer for creating PDF files on the browser and server. React-pdf exports a set of React primitives that enable you to render things into your document very easily. It also has an API for styling them, using CSS properties and Flexbox layout.
wojtekmaj/react-pdf (7.4k ⭐) — A different library called “react-pdf” developed by Wojciech Maj, specifically designed for rendering PDF documents in React applications. It provides a set of React components that allow you to display PDF files, navigate through pages, zoom in and out, and interact with the document.
Percollate (3.9k ⭐) — A command-line tool that turns web pages into beautifully formatted PDF, EPUB, HTML or Markdown files. Developed by Dan Burzo, Percollate aims to provide a convenient solution for capturing web articles, blog posts, or other online content and transforming them into PDF files with customizable styling and layout.
pdfme (1.2k ⭐) — A PDF generator library fully written in TypeScript coming with a React based UI template editor. Templates have a JSON document representation, which makes theme easy to understand and easy to work with.
Document Formatting: Options for setting the page size, orientation, margins, headers, footers, and other formatting attributes of the PDF document.
Styling and Customization: Support for applying custom styles, fonts, colors, and other visual properties to the PDF content, allowing developers to control the appearance of the generated PDFs.
Page Manipulation: Capabilities to add, delete, rearrange, and manipulate pages within the PDF document. This feature enables developers to dynamically modify the structure and content of the PDF.
Text Formatting and Layout: Support for applying various text formatting options like font styles, sizes, colors, alignment, indentation, and line spacing. Some libraries may also offer advanced features like text flow and column layout.
Image Handling: Ability to insert and manipulate images within the PDF document, including resizing, scaling, positioning, and applying effects or transformations.
Annotation Support: Features for adding annotations to the PDF, such as comments, highlights, underlines, and other markup options. These annotations can enhance the interactivity and collaboration within the PDF document.
Form Support: Ability to create and handle interactive form elements within the PDF, including text fields, checkboxes, radio buttons, dropdowns, and submit buttons.
Encryption and Security: Options to encrypt and secure the generated PDF documents with password protection, digital signatures, or other security measures to control access and ensure document integrity.
External Content Integration: Some libraries may support integration with external data sources, APIs, or other file formats to populate or extract data from the PDF document.