@elabs-ai/components-viewer
FileViewer: a file the app did not write, via a pluggable adapter registry.
pnpm add @elabs-ai/components-viewerRender 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