Search for Components (Beta)
webflow.searchComponents(options)
Searches for Components in a way similar to the search box in the Components panel in the Webflow Designer.
This command returns Components in the same order as a search in the Components panel and uses the same search logic. It searches fields including the name and description.
Beta
This feature is released as part of a Beta program and may change in future releases.
Syntax
Returns
Promise<Array<ComponentSearchResult>>
A Promise that resolves to an array or objects with information about matching Components, not the Component objects themselves.
Example
Designer Ability
Checks for authorization only