⚠️ 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.
Projection helpers that convert document sources, source maps, and source fields into evidence rows with resolved document anchors.
A field-path adapter over segmented-document anchors.
A field list that drives source-field interaction: hover previews the field location in the viewer, click selects it.
A floating pill that reports active field source state over a viewer: nothing selected, a located field path, or a field with no source.
Projection helpers and overlays that convert PDF/image bbox document sources into segmented-document segments, anchors, and active source highlights.
Every source-backed format in one viewer — PDF/image bbox sources use segmented-document anchors; text, CSV, Excel, and Word use segmented source links with format-specific target adapters.
A compact loading spinner using Lucide.
A split result with multi-run consensus visible in the sidebar: the page rail stays beside output-level likelihoods and each vote used to build the final split.
A split consensus segment diagram with consolidation, five raw votes, and contested-page density in a wide horizontal sidebar beside the PDF.
A split consensus segment diagram with the page axis running vertically for a narrow sidebar beside the PDF.
The split benchmark diagram from Lukas Bjorkland's article, with GT, Split v1, Split v2, the PDF pane, and the same dark metrics table treatment.
Named subdocuments over a PDF: a legend header and a vertical page-ribbon sidebar, from the shared segment primitives.
A single spreadsheet upload feeding a mapping workflow.
A two-state toggle switch.
Semantic table primitives for structured data.
A styled multiline text input.
Bridges the document-source model to text viewers: textAnchorToTarget and sourceToTextHighlight for text_span anchors.
Values extracted from a log file linked to the lines they came from — hover to highlight a line range.
One plain-text batch file separated into several documents — each carved-out document rendered in the viewer, with a left sidebar listing the source file first, then every document the splitter emitted, its type, line count, and the boundary cue that detected it. Selecting one opens that document.
A Pretext-powered prose viewer with natural wrapping, custom variable-height virtualization, source-line highlights, retry, zoom, and download.
One upload surface that becomes a file viewer, with the uploaded blob rendered by FileViewer.
A dropzone-backed upload queue with per-file loading bars keyed by the admitted file ids.
A key-driven layout-timed effect hook for DOM measurement and scroll/focus lifecycles.
A key-driven post-commit effect hook for library internals.
A media query hook for mobile responsive UI.
A mount-only effect hook for explicit lifecycle escape hatches.
Client hook that coordinates hover, focus, and persistent selection across Segment[] surfaces.
Shared class name helper used by Retab UI registry components.
Validate accepted files and rejection details without storing selected files.
A shared controls row for viewer chrome: title, position, zoom, rotate, download, loading, and extra controls.
Pure SheetJS-to-compact-sheet flattening helpers for the XLSX viewer worker.
A fixed-window virtualized Excel/spreadsheet viewer rendered entirely client-side: sheet tabs, zoom, download, formatted values, numeric alignment, sparse workbook storage, and row + column virtualization so huge sheets stay smooth. No useEffect for data loading.
Sparse compact workbook helpers for the XLSX viewer: cell lookup, metadata projection, column labels, and bounded source caching.
Typed worker messages, parse limits, and error codes for the XLSX viewer.