SDK Examples
Complete Integration Examples
Copy-ready examples for plain HTML/JavaScript, React, Vue, and Next.js. Plain HTML examples require no framework or build tool.
Integration
Plain HTML / JavaScript
No framework. No npm. Use a script tag, file controls, buttons, and normal browser JavaScript.
IntegrationReact
Initialize Zavilo in a component and process File objects from React events.
IntegrationVue
Use Vue refs and event handlers while keeping Zavilo results as browser File objects.
IntegrationNext.js
Load the browser SDK in a Client Component and upload generated files through your own route if needed.
All examples use the same SDK result contract: result.files, result.archive, result.data, result.metadata and executionId. Replace pk_live_xxxxx with your own Public Key.