> This page is for Designer API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Link Element

The Link element represents a [Link Block](https://help.webflow.com/hc/en-us/articles/33961262636819) in the Webflow Designer. Create a link element using any of the listed presets.

## Supported presets

The following presets create link elements.

* [LinkBlock](/designer/reference/element-presets)
* [TextLink](/designer/reference/element-presets)
* [Button](/designer/reference/element-presets)
* [LinkBlock](/designer/reference/element-presets)

## Methods

You can get and set the target value of a link element using the following methods.

#### [Get Link Target](/designer/reference/link-element/getTarget)

Get the target value of the link block element.

#### [Set Link Settings](/designer/reference/link-element/setSettings)

Apply settings for a Link Block element.

# Properties

| Property           | Description                                                                                       | Type      | Example                                                 |
| :----------------- | :------------------------------------------------------------------------------------------------ | :-------- | :------------------------------------------------------ |
| `id`               | Unique identifier for the element composed of two identifiers, the `component `and the `element`. | `object`  | `{component: "64c813...", element: "5edf8e59-71f9..."}` |
| `type`             | Specifies the type of the element.                                                                | `string`  | "Link"                                                  |
| `children`         | Indicates whether the element can contain child elements.                                         | `boolean` | `false`                                                 |
| `customAttributes` | Indicates whether the element can have custom attributes.                                         | `boolean` | `true`                                                  |
| `styles`           | Indicates whether the element can contain styles.                                                 | `boolean` | `true`                                                  |
| `textContent`      | Indicates whether the element can contain text content                                            | `boolean` | `false`                                                 |