Guides
Guide

Import and sell your StreamElements creations

Bring your custom widget code or overlay source here, test it and create another revenue stream from your own work.

Steps

1
Open Import from StreamElements and sign in.
2
Paste HTML, CSS, JS, Fields and optional Data from your StreamElements Custom Widget. Alternatively, upload one widget ZIP or an overlay JSON backup containing custom widget source, positions and sizes. A share link or OBS URL alone does not contain the source.
3
Click Check compatibility. Review the detected widgets, layout and any dependencies that need changes. Unsupported built-in layers stop the import before anything is saved.
4
Name the overlay, optionally select your connected channel, confirm your rights to use and sell the work, then click Create my overlay.
5
Open Preview and customise. Test the layout, field settings and connected chat or alerts. Upload any local media and replace relative paths with public HTTPS URLs.
6
Click Create marketplace listing. Add a title, description, supported platforms and optional photos or video. Choose a free install or set a price and finish payout setup. A runtime screenshot is generated automatically when you save your listing.

Important notes

Custom widget imports preserve HTML, CSS, JavaScript, field defaults, saved Data and layout. Dropdown fields, field placeholders, jQuery and standard load/chat/alert handlers are supported. A whole overlay can be imported when all layers contain custom code.
The compatibility adapter provides onWidgetLoad, onEventReceived and onSessionUpdate, promise-based SE_API helpers and per-widget storage in the current browser. It does not connect to StreamElements account storage or transfer historical session totals, recents, bot counters, tipping settings, profanity filters or alert queue timing. Widgets relying on these services need adaptation.
Built-in StreamElements alert boxes, goals and other proprietary widgets cannot be recreated from their settings alone. Rebuild them with supported widgets before importing. JSON layouts accept widgets with html/css/js (directly or inside settings), fields/fieldsJson, data/fieldData/fieldValues, x/y or position.left/top, width/height or size.width/height, and zIndex.
Widget ZIPs accept HTML.html or html.txt, CSS.css or css.txt, JS.js or js.txt, FIELDS.json or fields.txt and DATA.json or data.txt, optionally inside one folder. ZIP media and arbitrary file layouts are not imported. Import one widget at a time or use an overlay JSON.
Only sell work you created or are licensed to resell, including its assets. Remove embedded account tokens and vendor-specific URLs from code before publishing. Our seller-key packages and marketplace purchases remain licensed copies; they are not creator imports.
Buyers receive their own copy and connect their own supported channels. Importing a Twitch-specific widget does not automatically add support for other platforms. List only the platforms and event types you have tested.

Example

window.addEventListener("onWidgetLoad", function (obj) {
  const fieldData = obj.detail.fieldData;
  const channel = obj.detail.channel;
});

window.addEventListener("onEventReceived", function (obj) {
  const listener = obj.detail.listener;
  const event = obj.detail.event;

  if (listener === "message") {
    console.log(event.data.displayName, event.data.text);
  }
});