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.

Integration

React

Initialize Zavilo in a component and process File objects from React events.

Integration

Vue

Use Vue refs and event handlers while keeping Zavilo results as browser File objects.

Integration

Next.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.