Get component by name (Beta)
webflow.getComponentByName(name)
webflow.getComponentByName(group, name)
Retrieves a component based on its name and optionally its group.
Component names are case-sensitive.
Beta
This feature is released as part of a Beta program and may change in future releases.
Syntax
Get a component by its name:
Get a component by its name and group:
Returns
Promise<Component>
A Promise that resolves to a component.
Example
Designer Ability
Checks for authorization only