Start with one command
Install the framework-independent TypeScript library, then connect it to your app's file input.
npm install @dukeofwest/universal-file-preview
A browser-side TypeScript library
Explore working integrations for Angular, React and Vue. Select a framework, then try the real app with your own supported file.
Files stay in your browser. This demo does not upload them.
Install the framework-independent TypeScript library, then connect it to your app's file input.
npm install @dukeofwest/universal-file-preview
Download a small file and open it in any of the Angular, React, or Vue examples.
Office and OpenDocument files render supported subsets; visual fidelity and feature coverage vary by file.