This project is a simple Next.js application that generates a PDF file with multiple pages containing images and text. It leverages the power of @react-pdf/renderer for PDF generation along with Tailwind CSS for styling.
Clone this repository to your local machine:
git clone https://github.com/kahnu044/nexts-pdf-downloader.git
npm install
npm run dev
This will start the Next.js development server. You can access the app at http://localhost:3000.
The app provides a user interface with a "Download PDF" button. When clicked, it generates a PDF file with multiple pages, each containing an image and some sample text.
This project also utilizes Tailwind CSS for styling. You can find the Tailwind CSS classes used in the index.js file.
Special thanks to the creators and maintainers of Next.js
, @react-pdf/renderer
, and react-pdf-tailwind
for their amazing work.