



In Part 2, we’ll build a sample invoice in our React app using HTML and CSS, then generate a PDF file based on this content. As this is Part 1, today we will first create a quick app to be exported, add our React PDF Generator library and see how to generate a PDF file from HTML in React. Today’s blog post is the first of a three-part series that covers how you can generate PDF from HTML in React. Normally this can be a bit cumbersome, but I’m here to tell you that, thanks to KendoReact, we can now export any and all content in our React apps as easy as 1-2-3! Can generating a PDF file in a React app actually be simple? With KendoReact, YES!Ī popular question that I see pop up in React communities is how to export HTML, or parts of your React application, to PDF.
