Skip to main content

Overview

The SuperSeeded Embed Script provides a complete, ready-to-use upload widget that you can add to your platform with minimal code. It handles the entire upload flow including the UI, resumable uploads, and event callbacks.

Drop-in Integration

Single script tag with zero build dependencies

Resumable Uploads

Built for reliable large file uploads

Customizable

Theming, headless mode, and CSS variables

Event-Driven

Lifecycle callbacks for complete control

Quick Start

Add the script to your page and initialize the widget:
Your backend must implement the token endpoint to call our delegate-upload API. The widget fetches a fresh token before each upload.

Configuration Options

Events

Subscribe to upload lifecycle events through callback options:

Event Reference

Headless Mode

For complete UI control, enable headless mode and build your own interface:

Headless API

Theming

Built-in Themes

CSS Variables

Override the default styling with CSS custom properties:

Dark Theme Variables

Backend Setup

The embed script requires your backend to provide an upload token endpoint. This endpoint calls the SuperSeeded delegate-upload API and returns the token to the frontend.

Example Token Endpoint

Never expose your Platform API key to the frontend. The token endpoint must be a server-side route that securely calls our API.

Versioning

For production stability, pin to a specific version:

Complete Example