1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. beamline
  3. Document Viewer

Document Viewer

component

A PDF or a paged document read and marked up in place: page thumbnails beside it, zoom to the width, the page or a percentage, pages by keyboard, a search that marks every hit and steps through them, and annotations (highlight text or mark an area, attach a comment) listed beside the pages, each jumping to its place; pages not drawn yet are hatched, and loading, empty, failed and password-locked documents each say so. pdf.js loads only when a PDF is opened.

pnpm dlx shadcn@latest add "https://beamline.io/registry/open/document-viewer.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • @radix-ui/react-dialog@1.1.23
  • @radix-ui/react-direction@1.1.4
  • @radix-ui/react-dropdown-menu@2.1.24
  • @radix-ui/react-label@2.1.15
  • @radix-ui/react-progress@1.1.16
  • @radix-ui/react-slot@1.3.3
  • @radix-ui/react-tooltip@1.2.16
  • clsx@^2.1.1
  • lucide-react@^1.48.0
  • motion@^13.4.4
  • pdfjs-dist@6.4.299
  • tailwind-merge@^3.7.0
  • look-prism
src/ui/beamline/components/_shared/delta-ghost.module.css