Make a widget customized for your needs.
package.json
:
WidgetA/index.ts
) and define your widget structure:
name
unique within your Widget scope.parameters
represents the parameters of this Widget that are open for user modification. When a Widget is selected, the BlendDuck editor will automatically build an Inspector panel for user modifications. A Widget may not provide a definition for this field. Refer to part B in the image above.appear
and disappear
represent the extended parameters this Widget provides for Appear
and Disappear
animations respectively. Like parameters
, a Widget may not provide a definition for these fields. Refer to part D in the image above.defaults
indicates additional default parameters for this Widget when creating a new one on the stage.React
and Remotion
best practices. After using @blendduck/widget-sdk
, you can easily obtain the size of the Widget and the parameters passed by the user in the Inspector panel.
React
to extend new Form UIs for modifying properties.
delayRender
and continueRender
:
dispatchEvent
method:
WidgetLibrary
in your code and register the Widget(s)
and Panel
.