Extend UI Svelte
A Svelte 5 port of extend-hq/ui: viewers and editors for PDF, DOCX, XLSX, PPTX and CSV, plus file upload, thumbnails, a file system, document splits, a schema builder, layout blocks, bounding-box citations, e-signature and primitives.
Install
- Most components are a copy-in registry in the shadcn-svelte style: add one with
npx shadcn-svelte addand the component's registry URL, then edit the source in your app. - The heavy viewers and editors also ship as the
extend-ui-sveltenpm package:bun add extend-ui-svelte. - Import a component from
extend-ui-svelte/components/<name>. Dark mode is controlled by the parent throughisDarkandonIsDarkChange.
Components
20 document-heavy components across 5 functional categories. Built with Svelte 5 runes, virtualized rendering, and strict parent-controlled dark mode.
Files
Upload, file preview tiles, and file tree navigation.
Viewers
Zero-install virtualized document readers with zoom & search.
Editors
In-browser document editing, annotation, and digital signatures.
Data and layout
Document segmentation, schemas, block layout, and citations.
Primitives
Foundational controls and theme building blocks.
License
MIT. Ported from extend-hq/ui (MIT); each ported component credits the upstream project in its header.