Search for Components (Beta)
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
These methods are in public beta and may change with 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