Throttle Builder · Components · Catalog

Search box

A search field with suggestions.

The Search box component in the Components library, with its description and settings
The Search box component in the Components library, with its description and settings

What it is for

A search field with live suggestions of products, categories, brands and tags. Place it in the header.

Where you can use it

  • Available only when Product Catalog is installed; the Components library lists it but disabled otherwise.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is catalog.search-box, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
Placeholder (default: the store wording)placeholderText, up to 120 characters. One value per language.Empty

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

It follows the width of its column, so give it a wide enough column in the header on phones.

SEO and accessibility

It is a plain GET form to the search page, so it works before scripts load. Suggestions are links and appear only in the browser after the shopper types. The Placeholder sets the text shown in the empty field; left empty it uses the store's search wording.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "catalog.search-box",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.