# @react-pdf-viewer/full-screen

> A React component to view a PDF document

Latest version **3.12.0** (published 2023-03-21) · https://react-pdf-viewer.dev/license license · 0 weekly downloads

## Install

```sh
npm install @react-pdf-viewer/full-screen
pnpm add @react-pdf-viewer/full-screen
yarn add @react-pdf-viewer/full-screen
bun add @react-pdf-viewer/full-screen
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.12.0 |
| Published | 2023-03-21 |
| First published | 2020-10-18 |
| Weekly downloads | 0 |
| License | https://react-pdf-viewer.dev/license |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 25 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2602 |
| Author | Nguyen Huu Phuoc |
| Maintainers | phuoc-ng |
| Keywords | react, react.js, pdf, pdf.js, pdf viewer |

## Links

- npm: https://www.npmjs.com/package/@react-pdf-viewer/full-screen
- Repository: https://github.com/react-pdf-viewer/react-pdf-viewer
- Homepage: https://react-pdf-viewer.dev
- Issues: https://github.com/react-pdf-viewer/react-pdf-viewer/issues
- npm.io page: https://npm.io/package/@react-pdf-viewer/full-screen

## Dependencies (1)

- [@react-pdf-viewer/core](https://npm.io/package/@react-pdf-viewer/core.md) 3.12.0

## Alternatives

- [@cantoo/pdf-lib](https://npm.io/package/@cantoo/pdf-lib.md) — 297.9K weekly downloads
- [datatables.net-buttons](https://npm.io/package/datatables.net-buttons.md) — 200.1K weekly downloads
- [@ckeditor/ckeditor5-export-pdf](https://npm.io/package/@ckeditor/ckeditor5-export-pdf.md) — 167.0K weekly downloads
- [scanbot-web-sdk](https://npm.io/package/scanbot-web-sdk.md) — 15.0K weekly downloads
- [@syncfusion/ej2-angular-pdfviewer](https://npm.io/package/@syncfusion/ej2-angular-pdfviewer.md) — 8.8K weekly downloads

## Recent versions

- 3.12.0 (latest) — 2023-03-21
- 3.11.0 — 2023-01-27
- 3.10.0 — 2022-12-28
- 3.9.0 — 2022-11-30
- 3.8.0 — 2022-11-09
- 3.7.0 — 2022-08-21
- 3.6.0 — 2022-06-27
- 3.5.0 — 2022-06-14
- 3.4.0 — 2022-06-06
- 3.3.3 — 2022-05-31
- 3.3.2 — 2022-05-08
- 3.3.1 — 2022-05-02
- 3.3.0 — 2022-04-19
- 3.2.0 — 2022-04-03
- 3.1.2 — 2022-03-08
- … 27 more at https://npm.io/package/@react-pdf-viewer/full-screen/versions

## README

# React PDF viewer

A React component to view a PDF document. It's written in TypeScript, and powered by React hooks completely.

![React PDF viewer](https://raw.githubusercontent.com/react-pdf-viewer/react-pdf-viewer/master/assets/screenshot.png)

```javascript
// Core viewer
import { Viewer } from '@react-pdf-viewer/core';

// Plugins
import { defaultLayoutPlugin } from '@react-pdf-viewer/default-layout';

// Import styles
import '@react-pdf-viewer/core/lib/styles/index.css';
import '@react-pdf-viewer/default-layout/lib/styles/index.css';

// Create new plugin instance
const defaultLayoutPluginInstance = defaultLayoutPlugin();

<Viewer
    fileUrl='/assets/pdf-open-parameters.pdf'
    plugins={[
        // Register plugins
        defaultLayoutPluginInstance,
        ...
    ]}
/>
```

## Features

**Basic features**

-   [x] Support password protected document
-   [x] Zooming: Support custom levels such as actual size, page fit, and page width
-   [x] Navigation between pages
-   [x] Can go to the first and last pages quickly
-   [x] Search for text
-   [x] Preview page thumbnails
-   [x] View and navigate the table of contents
-   [x] List and download attachments
-   [x] Rotating
-   [x] Text selection and hand tool modes
-   [x] Different scrolling modes
-   [x] Full screen mode
-   [x] Can open a file from local. Users can drag and drop a local file to view it
-   [x] Download file
-   [x] View the document properties
-   [x] Support SSR
-   [x] Print
-   [x] Theming
-   [x] Dark mode
-   [x] Accessibility

**Customization**

-   [x] The toolbar can be customized easily
-   [x] All text items can be localized in another language

## License

You have to purchase a Commercial License at the [official website](https://react-pdf-viewer.dev).

## About

This project is developed by _Nguyen Huu Phuoc_. I love building products and sharing knowledge.

-   [DEV](https://dev.to/phuocng)
-   [Github](https://github.com/phuocng)

---
_Source: https://npm.io/package/@react-pdf-viewer/full-screen · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
