⚠️ Mobile is not supported yet.
Search for a command to run...
Document-processing UI components for Retab — file, OCR, and data viewers, schema builders, dropzones, and extraction blocks, built on shadcn/ui.
A callout for displaying contextual messages.
A modal alert dialog for destructive confirmations and blocking decisions.
A small wrapper for preserving media aspect ratios.
File attachment navigator built from SidebarList primitives and FileThumbnail.
An autocomplete input built on Base UI primitives.
A single replaceable image slot with a custom circular preview.
A calendar component built on React DayPicker.
An imperative Pretext prose viewer that keeps Text Viewer parsing/layout but projects visible rows through a Chenglou-style DOM cache.
A classification result with consensus visible in the sidebar: selected category, likelihood, and every vote beside the source document.
A fixed-line code and log viewer with line numbers, custom virtualization, source-line highlights, retry, zoom, and download.
A command menu surface powered by cmdk.
Two independent dropzones model original versus revision documents.
Parent-owned file state with controlled selected files and explicit clear behavior.
A small, dependency-free RFC 4180-ish CSV/TSV parser returning a header and rectangular rows.
Bridges the document-source model to the CSV viewer: csvAnchorToTarget and sourceToCsvCell for csv_cell anchors.
Extracted values linked to spreadsheet cells — hover to highlight a cell and scroll to it.
A fixed-window virtualized CSV/TSV table: sortable columns, sticky header, row numbers, horizontal scroll. Renders straight from raw rows (no table row model) so it stays flat in memory on huge files.
Direct useDropzone composition with FileThumbnail previews in a custom grid.
A lightweight editable cell for scalar document data: text, numbers, booleans, dates, times, and date-times.
The standard visual file uploader built on the headless dropzone primitive.
Disabled input, trigger focus, intake, and drag behavior.
Pure document location types used by evidence projection and viewer target adapters.
Pure projection types for semantic evidence rows that can resolve to document anchors.
Viewer-agnostic model for extraction sources (the Retab /v1/extractions/{id}/sources shape): SourceAnchor union (pdf_bbox, image_bbox, spreadsheet/csv cell, docx/text span), Source, ExtractionSourcesResponse, and extractionSourcesToSourceMap to flatten the sources tree into a path-keyed SourceMap.
Load and cache DOCX bytes without viewer chrome.
Bridges the document-source model to the DOCX viewer: docxAnchorToTarget and sourceToDocxHighlight for docx_text_span and docx_table_cell anchors.
Values extracted from a Word document linked back to where they came from — hover to highlight the text and scroll to it.
A docx-preview-backed Word viewer: faithful paginated pages, continuous scroll, zoom, fit-to-width, and download. Off-screen pages are skipped via CSS content-visibility.
A headless file-intake primitive with drag/drop, file input wiring, validation, controlled state, and accessibility prop getters.
A file-uploader lab proving the headless dropzone primitive across default, non-button, native-button, controlled, validation-only, custom grid, upload progress, uploader-viewer, and disabled surfaces.
Detected form fields beside a PDF source document, linked by their bbox — hover or select a field to highlight its region on the page; Preview stamps values over the source, and Filled renders a supplied output file.
Dependency-array key helpers for keyed effect lifecycles.
Render recursive MIME messages with headers, CID inline resources, nested messages, and File Viewer leaves.
Files become ordered evidence events inside a custom surface.
Bridges the document-source model to the XLSX viewer: xlsxAnchorToTarget and sourceToXlsxCell for spreadsheet_cell anchors.
Extracted values linked to spreadsheet cells across sheets — hover to switch sheet, highlight the cell, and scroll to it.
One Excel workbook fanned out into several clean CSVs — each reconstructed table rendered in the viewer, with a sidebar listing every CSV the splitter emitted, the sheet it was carved from, and how it was reconstructed. Selecting one opens that CSV.
Extracted data beside the source PDF, rendered as a JSON form and linked by sources — hover or select a field to highlight where its value came from and scroll the page to it.
A small byte-size display formatter for file UI components.
A document workspace over a flat object-store manifest with list, grid, columns, lazy folders, generated thumbnails, and FileViewer previews.
A document workspace over a flat object-store manifest with list, grid, columns, generated thumbnails, and persistent file previews.
A minimal file tree in a ViewerSidebar with FileViewer in the ViewerSurface.
A purified composition experiment: file tree in a ViewerSidebar, selected source rendered by FileViewer in a ViewerSurface.
Render complete file thumbnails from browser files, URLs, blobs, text sources, external images, or custom preview content.
Dependency-free thumbnail frame with a loading shimmer, fade-in, and muted fallback surface.
A polished Retab document upload area built from the headless Dropzone primitive and File Thumbnail.
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.
React Hook Form field primitives with accessible labels, descriptions, and messages.