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.

Divider

Visual separator line

A line between things. Horizontal by default; set width for a vertical one, or both width and height for a fixed size.

Methods

Divider(options?)WidgetNode

A visual divider line.

  • options Any
    • color Color

      Line colour.

    • thickness Number

      How thick the line is.

    • width Number

      Set it to draw a vertical divider instead.

    • height Number

      With width, gives a fixed-size separator.

    • indent Number

      Inset at the start.

    • endIndent Number

      Inset at the end.

Examples

Horizontal separator

Column({ children: [
  Text("Section 1"),
  Divider({ color: Color.gray().opacity(0.3) }),
  Text("Section 2")
]})

Vertical divider in a row

Row({ children: [
  Text("Left"),
  Divider({ width: 1, height: 20, color: Color.gray() }),
  Text("Right")
]})