Skip to main content

@elabs-ai/components-viewer

2 pages

FileViewer: a file the app did not write, via a pluggable adapter registry.

pnpm add @elabs-ai/components-viewer

Render a file the app did not write (upload, signed URL, agent output) — detects the format, loads the matching adapter on demand, draws it with brand-ui components.

32 examples

Attachments, uploads, side-by-side revisions and a custom format

Render a file the app did not write (upload, signed URL, agent output) — detects the format, loads the matching adapter on demand, draws it with brand-ui components.

4 examples