Extend UI
is a set of open-source components for document agents, user-facing document flows, and internal tools.

The library includes 14 components and examples for PDF, DOCX, and XLSX viewers, plus bounding box citations, file upload, file thumbnails, e-signature, document splitting, layout blocks, and Finder-style file browsing. Components are fully customizable, MIT licensed, and available through the shadcn component registry.
Extend UI started as the internal component layer for . We built it after evaluating existing file viewer and document component libraries and needing more complete, polished building blocks for document-heavy products. The components are maintained in production at Extend and are used across workflows that process millions of pages, so fixes and improvements continue to flow back into the project.
Use Extend UI when you need document viewers, review surfaces, file-management interfaces, or agent-facing document tools without starting from a generic viewer library. Because each component is installed as source, it also works well with design-system agents and prototyping tools that need editable React and Tailwind code.
Links
- Documentation:
- GitHub:
- Registry namespace:
@extend/*
Getting Started
Install a component with the shadcn CLI:
Then render the installed component from your app:
The react-pdf version of the PDF viewer is available at
.
Extend UI components are copied into your project as source, so you can adapt
them to your app. Shared primitives such as Button, Select, Dialog,
ScrollArea, and Tooltip are expected to use the primitives your app already
has. If your project uses a different alias or design-system path, update the
generated imports to match, for example changing
@/components/ui/button or @/components/ui/select to your local primitive
paths. You can also set those aliases in components.json before installing so
new components are generated closer to your app structure.
Examples
Layout Blocks
Inspect OCR and layout output with selectable blocks, confidence, markdown text, and PDF overlays that stay connected to the rendered page.

Bounding Box Citations
Review extracted values against the source PDF with field-level citations, editable form controls, JSON diffing, and page overlays.

File System
A Finder-style file browser for object-store manifests. It supports icon, list, column, and gallery views, and opens PDF, DOCX, XLSX, and image files in viewer dialogs.

Popular Components
Development
The site runs at http://localhost:4000.
Created By
Extend UI is built and maintained by for teams building modern document processing products.
License
Licensed under the .