# PDF Viewer

Open and read PDF documents in Nimbalyst tabs alongside your other project files, with smooth scrolling, zoom controls, and text selection.

Nimbalyst includes a built-in PDF viewer that lets you open and view PDF documents directly in the editor. PDFs open in their own tabs alongside your other files, with support for smooth scrolling, zoom controls, and text selection.

See the [PDF viewer extension page](https://nimbalyst.com/extensions/pdf-viewer/).

### Opening PDFs

Click any `.pdf` file in your file tree to open it. The PDF loads in a dedicated viewer tab with a toolbar at the top.

PDFs are read-only in Nimbalyst. To edit a PDF, use a dedicated PDF editor.

### Viewing Controls

#### Toolbar

The toolbar appears at the top of the PDF viewer and shows:

* **Page count**: Total number of pages (e.g., "10 pages")
* **Zoom controls**: Plus/minus buttons and current zoom percentage
* **Fit button**: Toggle fit-to-width mode

#### Scrolling

Scroll through the PDF using:

* Mouse wheel or trackpad
* Scroll bars
* Page Up / Page Down keys

Pages flow continuously like a modern PDF reader. Large documents (100+ pages) remain smooth thanks to efficient rendering.

### Text Selection

You can select and copy text from PDFs:

1. Click and drag to select text on any page
2. Selected text is highlighted
3. Press **Cmd/Ctrl + C** to copy

Text selection works like any standard PDF reader.

### Theme Support

The PDF viewer adapts to your Nimbalyst theme:

* **Light theme**: Standard white pages with subtle shadows
* **Dark theme**: White pages with enhanced shadows for contrast
* Toolbar and controls match your theme colors
