Get component by name (Beta)
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
These methods are in public beta and may change with 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