Document Preview

Read-only previews of uploaded documents in the admin, including Office files and PDFs

Community 6 256/wk MIT v0.1.0-beta.0

Installation

pnpm add @10x-media/document-preview

About

Document Preview lets editors open uploaded files in a read-only viewer inside the Payload admin without downloading them. Images, video, audio, PDF, CSV and TSV, text and code, Markdown, and Word, Excel and PowerPoint files all render in the browser, with no server-side conversion. The preview can open from a drawer on the edit view, appear inline above the fields, or sit in a column in the list view. Each file type loads its viewer only when a file of that kind is opened, and you can swap in your own viewer for any mime type.

Package info

Package name
@10x-media/document-preview
Latest version
0.1.0-beta.0
Unpacked size
342 kB
License
MIT
Weekly downloads
256
Last publish
Oct 5, 2026

More from 10x-media

View profile

Adds client-side undo and redo to Payload admin document forms

Gives each auth collection its own session cookie so admin and frontend logins coexist

Sends signed HTTP webhooks when Payload documents are created, updated or deleted

Opens collections, globals and admin views in a floating panel with shareable links

Ops dashboard, worker process and queue controls for the Payload jobs queue

Alternative simplified and step-by-step edit forms for Payload collections

Similar plugins

More in Media

Live aspect ratio previews with crop and focal point editing for image uploads

Search Unsplash, Pexels and Pixabay stock images and videos from upload collections

Lets editors crop uploaded images in a modal and generates resized variants per preset

Curated YouTube creator watchlist with per-channel rules, a review queue and click-to-play embeds

Grid gallery with lightbox and bulk upload for a Payload upload collection

Adds AI text, image and voice generation and translation to Payload editors