ScriptWidget
iOS · iPadOS · macOS
Build widgets with JavaScript and JSX.
ScriptWidget gives you a SwiftUI runtime that runs JavaScript and renders JSX as native widgets. Write a script, preview it instantly, and ship it to home screen widgets, Live Activities, and Dynamic Island — all from the same code.
// ScriptWidget
$render(
<vstack frame="max" padding="12" background="#0f172a">
<text font="caption" color="#94a3b8">Hello ScriptWidget</text>
<text font="title3" color="#e2e8f0">Widgets with JavaScript + JSX</text>
</vstack>
);Features
JSX to SwiftUI
Compose layouts with familiar JSX. They render as native SwiftUI views on device.
Runtime APIs
System info, device state, networking, storage, read-only HealthKit and Location — all from JavaScript.
Live Activities + Dynamic Island
The same script powers home screen widgets, Live Activities and Dynamic Island layouts.
In-app editor
Write, preview, refresh — without leaving the app or rebuilding anything.
iCloud sync
Scripts sync across your devices via iCloud / app group, automatically.
Native performance
Built on SwiftUI. No Electron, no WebViews driving the UI.