React Print
Build PDFs using React and TypeScript.
Why ?
We believe documents are at the core of communication—invoices, contracts, resumes, brochures, etc. They are the primary method for exchanging information with others professionally. So, why do we continue to use decades-old technology to create them? We believe you deserve better. Document production needs to be modernized. Start today and create your next PDF the same way you build a web app. And yes, this includes automating data integration into your documents. Say hello to react-print.
Getting Started
React Print is designed to be incrementally adopted, so you can add it to most codebases in a few minutes.
Set up
Create a brand-new folder with packages powered by React Print.
Components
A set of standard components to help you build amazing documents without having to deal with the mess of creating complex layouts and maintaining archaic markup.
compile
Compile a React component to a string with the Onedoc print styles.
CSS
Allows adding CSS to the document while securely parsing and escaping it.
Footnote
Create automatically numbered footnotes.
LaTeX
Render LaTeX formulas right in your React components.
Markdown
Render Markdown inside your templates.
Shell
Display content in other page regions.
Tailwind
A simple, drop-in way to use Tailwind CSS in your components.
Variables
Display dynamic values based on your document, such as page numbers and running headers.
Help us increase the number of components and start being an active member of the react-print community by contributing
Integration
PDFs component created by react-print can be generated, hosted (and more) with your preferred providers. We recommand using Onedoc as it has been specificaly build to work with react-print.
Authors
- Auguste L. (@thisisnotFranck)
- Pierre D. (@pierre_dge120)
- Titouan L. (@titouan325)
Was this page helpful?