> From the [Strife developer docs](https://strife.app/docs/reference/fields/link). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# Link

The Link field enables users to insert links, storing an object in the database containing link text, URL, and target options.

<figure><img src="https://strife.app/docs/assets/Screenshot%202023-10-27%20at%2009.40.26.png" alt="" width="375"><figcaption><p>Strife Studio screenshot of a Link field</p></figcaption></figure>

### Settings

The Link field does not feature any distinctive settings beyond the standard ones.

> [!NOTE]
> You can find a comprehensive list of all basic settings in the ['Overview' section](https://strife.app/docs/reference/fields.md).

### Define with JSON

When defining templates using JSON, this field is represented using:

* **Component Name:** `str-link`
* **Type:** `link`
* Reference ID: `str-link`

The settings above map into the `editor.attributes` object inside the JSON definition.

```json
{
  ...
  "editor": {
    "name": "str-link",
    "type": "link",
    "propertyName": "...",
    ...    
  },
  ...
}
```

### Live preview

The compatible Strife Web Component for a Link field is the `str-anchor` component.

> [!NOTE]
> For more information on live preview and Strife Web Components, please refer to the [Live preview documentation](https://strife.app/docs/reference/live-preview.md).
