For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceGuidesExamplesChangelog
ReferenceGuidesExamplesChangelog
  • Designer API
    • Introduction
    • Getting Started
    • Webflow CLI
    • Error Handling
    • App Modes
  • Elements
    • Creating & Retrieving Elements
    • Element Properties & Methods
    • Element Types & Methods
      • Element Presets
      • DOM Elements
      • Strings
      • Components
        • Get Component
        • Search props
        • Get Props
        • Get Resolved Props
        • Set Props
        • Reset All Props
        • Get Slots
        • Get Selected Slot
        • Get Text Prop Element
        • Unlink Component
      • Slots
      • Headings
      • Images
      • Links
      • Forms
  • Styles
    • Managing Style Properties
    • Managing Variable Modes
  • Components
  • Variables & Collections
    • Variable Collections
    • Variables
    • Variable Modes
  • Assets
  • Pages & Folders
  • Utilities
    • User Events & Notifications
    • App Intents & Connections
  • Additional Resources
    • API Playground
    • FAQs
LogoLogo
Resources
Get started
On this page
  • Methods
  • Properties
ElementsElement Types & Methods

Component Instances

Was this page helpful?
Previous

Get Component

Next
Built with

The component element represents a component instance within the Webflow Designer.

Methods

Get Component

Retrieves the associated component definition of the component instance.

Get Props

Gets the values for all props on the component instance.

Get Resolved Props

Gets the resolved values for all props on the component instance.

Set Props

Sets prop values on the component instance, with support for static overrides, bindings, and resets.

Reset All Props

Resets all prop values on the component instance to their component defaults.

Get Slots

Gets all slots on the component instance.

Creating & managing components

Learn more about creating and managing component definitions in the Components Overview.

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”ComponentInstance”
childrenIndicates whether the element can contain child elements.booleanfalse
customAttributesIndicates whether the element can have custom attributes.booleanfalse
stylesIndicates whether the element can contain styles.booleanfalse
textContentIndicates whether the element can contain text contentbooleanfalse