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. retab
  3. File Viewer

File Viewer

ui

One viewer for any file: detects the type and lazy-loads the matching renderer (PDF, DOCX, XLSX, PPTX, CSV, images) plus inline, virtualized text/code/JSON, Markdown (sandboxed), and HTML (sandboxed). Only the needed parser is ever downloaded.

pnpm dlx shadcn@latest add "https://ui.retab.com/r/file-viewer.json"
Premium blocks for shadcn/uiShadcnblocks.com Β· AffiliateExplore
  • lucide-react
  • marked@18.0.5
  • dompurify@3.4.9
  • @radix-ui/react-slot@^1.1.1
  • class-variance-authority@^0.7.1
  • radix-ui@^1.5.0
  • button
  • separator
@ui/file-viewer.tsx