An Empty Widget
ScriptWidget template.
Example
//
// ScriptWidget
// https://xnu.app/scriptwidget
//
// Empty Template
//
// Description: Empty script for starter
//
var text = "Hello ScriptWidget :)";
$render(
<vstack>
<text font="caption">{text}</text>
</vstack>
);
Templates live in
Shared/ScriptWidgetRuntime/Resource/Script.bundle/template/ and can be imported directly into the app.