Reusables

Pdf viewers

Minimal PDF Viewer

A minimalist PDF viewer with essential navigation controls and keyboard shortcuts.

Features

  • Basic page navigation
  • Keyboard shortcuts
  • Page counter
  • Clean minimal interface
  • Dark mode support

Installation

npx shadcn@latest add "https://reusables.vercel.app/r/minimal-viewer"

Usage

import { MinimalViewer } from "@/components/pdf-viewers/minimal-viewer"
 
export default function PDFViewer() {
  return <MinimalViewer url="path/to/your.pdf" />
}

Examples

Reference

PropTypeDefault
url
string
-
Edit on GitHub

Last updated on

On this page