Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

ui

> 编程语言
Open source

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

123.9K stars0 likes5 views
WebsiteGitHub

About

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

Extend UI

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 Extend. 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: https://www.extend.ai/ui
  • GitHub: extend-hq/ui
  • Registry namespace: @extend/*

Getting Started

Configure the style-aware registry in your components.json:

json
{
  "registries": {
    "@extend": "https://www.extend.ai/ui/r/styles/{style}/{name}.json"
  }
}

Then install a component with the shadcn CLI:

bash
npx shadcn@latest add @extend/pdf-viewer

Then render the installed component from your app:

typescript
import { PDFViewer } from "@/components/extend/pdf-viewer"

export default function Page() {
  return <PDFViewer src="/sample.pdf" className="h-[720px]" />
}

The react-pdf version of the PDF viewer is available at pdf-viewer.tsx.

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, and Tooltip are imported directly from your existing UI components. The registry selects Base or Radix source using your configured style and transforms icons for your selected icon library. Keep existing primitives when the CLI asks about overwriting them. 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.

Use current shadcn primitive APIs. The historical default style is deprecated upstream and must be migrated before installing.

Examples

Layout Blocks

Inspect OCR and layout output with selectable blocks, confidence, markdown text, and PDF overlays that stay connected to the rendered page.

bash
npx shadcn@latest add @extend/layout-blocks-block
…

Bounding Box Citations

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

bash
npx shadcn@latest add @extend/bounding-box-citations-block
…

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.

bash
npx shadcn@latest add @extend/file-system-block
…

Popular Components

bash
npx shadcn@latest add @extend/pdf-viewer
npx shadcn@latest add @extend/docx-viewer
npx shadcn@latest add @extend/xlsx-viewer
npx shadcn@latest add @extend/file-upload
npx shadcn@latest add @extend/file-thumbnail
npx shadcn@latest add @extend/e-signature

Development

bash
pnpm install
pnpm v4:dev

The site runs at http://localhost:4000.

Created By

Extend UI is built and maintained by Extend for teams building modern document processing products.

License

Licensed under the MIT license.

Issues· 7 open

View all issuesOpen on GitHub
  • #23

    Legacy .doc: text-box subdocument (ccpTxbx) is never read — documents built around a text box render blank

    Updated Aug 10, 2026
  • #8

    Docs buggy

    Updated Jul 5, 2026
  • #11

    Support for Comments in DOCX

    Updated Jun 30, 2026

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言