Skip to main content
Import the supported Widget Worker SDK from one entry point:
Use the generated defineWidget, defineWidgetPackage, and startWidgetPackage references for exact fields, types, and return values.

Define one widget

Keep the widget name stable after publication. Defaults must satisfy the property schema and render a useful initial state.

Define a package

Package ownership changes the required identity fields. Start from the generated project for your package model and use the reference for the exact options.

Start the worker

The generated worker entry starts every registered widget:
Keep values that cross the worker boundary JSON-serializable according to the SDK types. Do not author runtime URLs or generated package descriptors; build and publication own them.