Component Instances
This page is for Designer API.
The component element represents a component instance within the Webflow Designer.
Methods
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 | ”ComponentInstance” |
children | Indicates whether the element can contain child elements. | boolean | false |
customAttributes | Indicates whether the element can have custom attributes. | boolean | false |
styles | Indicates whether the element can contain styles. | boolean | false |
textContent | Indicates whether the element can contain text content | boolean | false |