Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ZEISS/react-view-pdf
A simple and powerful PDF Viewer library for React.js
https://github.com/ZEISS/react-view-pdf
pdf pdf-reader pdf-viewer reactjs
Last synced: about 2 months ago
JSON representation
A simple and powerful PDF Viewer library for React.js
- Host: GitHub
- URL: https://github.com/ZEISS/react-view-pdf
- Owner: ZEISS
- License: mit
- Created: 2020-01-31T12:34:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-17T11:16:43.000Z (about 1 year ago)
- Last Synced: 2024-04-24T22:20:26.961Z (8 months ago)
- Topics: pdf, pdf-reader, pdf-viewer, reactjs
- Language: TypeScript
- Size: 1.1 MB
- Stars: 107
- Watchers: 8
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - react-view-pdf - A simple and powerful PDF Viewer library for React.js. (Uncategorized / Uncategorized)
README
# React PDF Reader
The purpose of this library is to provide a React component that works as a PDF Reader. It's basically a React wrapper from the pdf.js library from Mozilla.
## Using the Library
The library can be installed via the following commands:
```sh
npm i --save-dev react-view-pdf
```Because this library uses components from `precise-ui`, it is necessary to add it as a dependency to your project:
```sh
npm i precise-ui
```Then, simply import the component like below:
```js
import { PDFViewer } from 'react-view-pdf';```
## Contributing
Feel free to contribute to it or open issues in case of bugs.
## Roadmap
1. Remove dependency on `precise-ui`.
2. Allow selection of texts.
3. Add built-in download button.