Link Element

The Link element represents a Link Block in the Webflow Designer. Create a link element using any of the listed presets.

Supported presets

The following presets create link elements.

Methods

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

Properties

PropertyDescriptionTypeExample
idUnique identifier for the element composed of two identifiers, the component and the element.object{component: "64c813...", element: "5edf8e59-71f9..."}
typeSpecifies the type of the element.string”Link”
childrenIndicates whether the element can contain child elements.booleanfalse
customAttributesIndicates whether the element can have custom attributes.booleantrue
stylesIndicates whether the element can contain styles.booleantrue
textContentIndicates whether the element can contain text contentbooleanfalse