npm
npmjs.com › package › @mikecousins › react-pdf
@mikecousins/react-pdf - npm
March 28, 2025 - Simple React component to wrap up PDF.js. The easiest way to render PDFs in your React app.. Latest version: 8.1.0, last published: 3 months ago. Start using @mikecousins/react-pdf in your project by running `npm i @mikecousins/react-pdf`. There ...
» npm install @mikecousins/react-pdf
Published Oct 04, 2025
Version 8.1.0
Author mikecousins
Repository https://github.com/mikecousins/react-pdf-js
Cousins
react-pdf.cousins.ai
@mikecousins/react-pdf - Embed PDFs in React.
The simplest way to embed PDFs. Under 1kB in size. Modern React hook architecture.
Videos
14:28
This React PDF-Viewer Component Is Amazing! - YouTube
15:35
How to generate PDF in React using React pdf
10:48
How to generate a PDF from a React component - YouTube
15:35
How to generate PDF in React using React pdf - YouTube
23:38
Generate a PDF in React - YouTube
CodeSandbox
codesandbox.io › examples › package › @mikecousins › react-pdf
@mikecousins/react-pdf examples - CodeSandbox
Use this online @mikecousins/react-pdf playground to view and fork @mikecousins/react-pdf example apps and templates on CodeSandbox.
GitHub
github.com › mikecousins › react-pdf-js
GitHub - mikecousins/react-pdf-js: A React component to wrap PDF.js
react-pdf-js provides a component for rendering PDF documents using PDF.js. ... Install with yarn add @mikecousins/react-pdf pdfjs-dist or npm install @mikecousins/react-pdf pdfjs-dist
Starred by 803 users
Forked by 151 users
Languages TypeScript 90.7% | JavaScript 6.9% | CSS 2.0% | HTML 0.4% | TypeScript 90.7% | JavaScript 6.9% | CSS 2.0% | HTML 0.4%
GitHub
github.com › mikecousins › react-pdf-js › releases
Releases · mikecousins/react-pdf-js
January 16, 2024 - Fixed the package types so it should work better in CommonJS or ESM builds: https://publint.dev/@mikecousins/react-pdf
Author mikecousins
GitHub
github.com › mikecousins › react-pdf-js › blob › main › README.md
react-pdf-js/README.md at main · mikecousins/react-pdf-js
react-pdf-js provides a component for rendering PDF documents using PDF.js. ... Install with yarn add @mikecousins/react-pdf pdfjs-dist or npm install @mikecousins/react-pdf pdfjs-dist
Author mikecousins
GitHub
github.com › yuwenbai › react-pdf-js
GitHub - yuwenbai/react-pdf-js: A React component to wrap PDF.js · GitHub
import React, { useState } from 'react'; import Pdf from '@mikecousins/react-pdf'; const MyPdfViewer = () => { const [page, setPage] = useState(1); return <Pdf file="basic.33e35a62.pdf" page={page} />; }; Or if you want to use pdf's data (e.g.
Author yuwenbai
Bitstack
blog.bitsrc.io › top-react-pdf-libraries-in-2021-d0cfbeccdbf8
Top React PDF Libraries in 2021. Recommended PDF Viewer Libraries for… | by Piumi Liyana Gunawardhana | Bits and Pieces
March 5, 2025 - Note: This library well functions ... and the below example shows a simple example of React-file-viewer. @mikecousins/react-pdf is a component that uses PDF.js to render PDF documents....
CodeSandbox
codesandbox.io › s › mikecousinsreact-pdf-398i5
@mikecousins/react-pdf - CodeSandbox
February 1, 2021 - Simple React component to wrap up PDF.js. The easiest way to render PDFs in your React app.
Published Jul 03, 2019
Repository https://codesandbox.io/s/398i5
jsDelivr
jsdelivr.com › package › npm › @mikecousins › react-pdf
@mikecousins/react-pdf CDN by jsDelivr - A CDN for npm and GitHub
October 4, 2025 - A free, fast, and reliable CDN for @mikecousins/react-pdf. Simple React component to wrap up PDF.js. The easiest way to render PDFs in your React app.
Published Sep 19, 2019
Repository https://github.com/mikecousins/react-pdf-js
CodeSandbox
codesandbox.io › s › react-pdf-gg9g31
react-pdf - CodeSandbox
May 2, 2023 - react-pdf using @mikecousins/react-pdf, @react-pdf/renderer, react, react-dom, react-pdf, react-scripts
Published May 02, 2023
Repository https://codesandbox.io/s/gg9g31
Npmpeer
npmpeer.dev › packages › @mikecousins › react-pdf › compatibility
@mikecousins/react-pdf versions and peer dependencies
The table below has a list of all versions of @mikecousins/react-pdf with compatible (peer) dependencies.
Cousins
react-pdf.cousins.ai › docs › examples
Examples - Docs
@mikecousins/react-pdf · Search docs · Usage · We have several examples written in various frameworks to show you how it works! Check out our examples below in a framework similar to your situation. Live Demo: https://react-pdf-js-demo-react-router.netlify.app/ Code: https://github.com/mikecousins/react-pdf-js/tree/main/apps/demo-react-router ·
Netlify
react-pdf-js-demo-vite.netlify.app
@mikecousins/react-pdf - React PDF Library
We cannot provide a description for this page right now
Githubhelp
githubhelp.com › mikecousins › react-pdf-js
The react-pdf-js from mikecousins - GithubHelp
Install with yarn add @mikecousins/react-pdf pdfjs-dist or npm install @mikecousins/react-pdf pdfjs-dist