Reusables

Pdf viewers

Thumbnail PDF Viewer

A PDF viewer with thumbnail previews for easy page navigation.

Features

  • Thumbnail previews
  • Page navigation
  • Responsive layout
  • Dark mode support
  • Smooth scrolling

Installation

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

Usage

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

Examples

Reference

PropTypeDefault
url
string
-
Edit on GitHub

Last updated on

On this page