Rootless

Automate iOS, iPadOS, and macOS using plain JavaScript. Build custom widgets and interact directly with native APIs.

Download on the App Store
Rootless app interface

Plain JavaScript

Supports ES6. Scripts are stored as plain .js files on your disk.

Native APIs & Documentation

Integrate directly with iOS native APIs. Fully documented, available offline.

Siri Shortcuts

Trigger scripts via Siri. Present tables, websites, and custom HTML natively.

System Integration

Run from the Share Sheet, process inputs, and manage local files via Files.app.

x-callback-url

Communicate seamlessly and trigger workflows with other apps on your device.

Customizable & Ready

Tailor the code editor to your liking. Includes several example scripts to start immediately.

Documentation

Also inside the app, or as rootless.json.

Rectangle

Rounded rectangle shape

A filled and/or stroked rectangle, with one radius or one per corner.

Methods

Rectangle(options?)WidgetNode

A rectangle shape.

  • options Any
    • fill Color

      Fill colour.

    • stroke Color

      Outline colour.

    • strokeWidth Number

      Outline width.

    • width number | Size

      A number of points, or a Size.

    • height number | Size

      A number of points, or a Size.

    • cornerRadius number | CornerRadius

      A number rounds all four corners; CornerRadius.only, .horizontal or .vertical pick some.

Examples

Rounded card background

Rectangle({
  fill: Color.blue(),
  width: Size.fixed(120), height: Size.fixed(80),
  cornerRadius: CornerRadius.vertical(16, 0)
})