PDF Viewer
- from @hirael
Shows a PDF in your page on react-pdf: page arrows and a page number field, zoom steps, fit to width and a download button. Text can be selected and links work, and the arrow keys turn pages.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @hirael/pdf-viewerLive preview
No live preview has been built for this component yet.
Registry dependencies4
- button
- input
- separator
- skeleton
