# loadScriptFromURLAsync

**Kind:** Function

Injects Javascript from a remote URL.

Returns a promise that resolves to the HTML script element inserted into the page.

```js
import {loadScriptFromURLAsync} from '@airtable/blocks/interface/ui';
loadScriptFromURLAsync('https://example.com/script.js');
```

**Parameters:**
- `url` (`string`) — The URL of the script.

**Returns:** `Promise<HTMLScriptElement>`
