Uploader + Viewer
retab-ui/dropzone-file-viewer-exampleFreeBlock
One upload surface that becomes a file viewer, with the uploaded blob rendered by FileViewer.
Install it
npx shadcn@latest add https://ui.retab.com/r/dropzone-file-viewer-example.jsonSource
1"use client";23import { cn } from "@/lib/utils";45import { type DropzoneExampleProps } from "./dropzone-example-shared";6import { FileIntakeViewer } from "./dropzone-uploader-viewer";78export function DropzoneFileViewerExample({ className }: DropzoneExampleProps) {9 return <FileIntakeViewer className={cn("h-[34rem]", className)} />;10}
What it pulls in
npm packages
Other registry items
Files it writes
More from retab-ui
All 130 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Classify Consensusclassify-consensus-viewer-block | retab-ui | Blocks | Free | 1 dep · 4 files | |
| CSV Sourcescsv-sources-block | retab-ui | Blocks | Free | no deps · 2 files | |
| DOCX Sourcesdocx-sources-block | retab-ui | Blocks | Free | no deps · 2 files | |
| Avatar Image Slotdropzone-avatar-image-slot | retab-ui | Blocks | Free | 1 dep · 2 files | |
| Dropzonedropzone-block | retab-ui | Blocks | Free | 1 dep · 26 files | |
| Comparison Pairdropzone-comparison-pair-upload | retab-ui | Blocks | Free | 1 dep · 2 files | |
| Controlled Queuedropzone-controlled-queue | retab-ui | Blocks | Free | 1 dep · 2 files | |
| Custom Thumbnail Griddropzone-custom-thumbnail-grid | retab-ui | Blocks | Free | 1 dep · 2 files |
