# URL

URL field renders a text input. Uses the native `input[type="url"]`.

## Example configuration

```php
...
array(
    'title' => 'My URL field title',
    'id' => 'url-option',
    'desc' => 'Short description for the field',
    'tab' => 'main',
    'type' => 'url',
),
...
```

This will produce the following

![](https://2720448264-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LKMTiOPVR7pXWhebz7q%2Fsync%2Fa0fa7c4773fb4f9661d003d8e2a50b393d90a4ba.png?generation=1602624631552345\&alt=media)

## Params

| Name    | Type   | Description                                                      |
| ------- | ------ | ---------------------------------------------------------------- |
| `type`  | string | `url` **(required)**                                             |
| `id`    | string | Unique ID that will be used to retrieve the value **(required)** |
| `tab`   | string | Specifies in which tab this option will be rendered              |
| `title` | string | Shows a heading to the left of the field                         |
| `desc`  | string | Shows a description text (can have HTML)                         |
