Black Friday

40% off every plan for a year with code BF2026. Until December 2.

See the prices
2.0 Beta

Smootify 2.0 is in public beta. Your 1.x store keeps working. Move when you want.

What changed

smootify-search

Predictive search: products and query suggestions as the customer types, in a Webflow Dropdown or a popover. The search field is input[name="query"]; without one, the only text field (2.0), whatever its Webflow Name, is named query. A results popover (2.0) opens as the customer types, and also on a focus or click of the field, empty or not, so search-no-query shows its suggestions.

v2.0 beta
Open .md
On this page
  1. At a glance
  2. Where it can go
  3. What it requires
  4. Fields in the form
  5. Attributes on the element
  6. Attributes inside it
  7. Loading

At a glance

A Webflow Dropdown

Put the results
Inside the Dropdown list.
Opens
As the visitor types.
The field
Inside the Dropdown or next to it.

A popover

Put the results
Inside a popover.
Opens
When the visitor clicks the field, so the suggestions for an empty field show, and as they type.
Closes
With a button that has data-action="close", anywhere in smootify-search, such as next to the field. See Popovers.

In place

Put the results
Anywhere in smootify-search, with no Dropdown or popover.
Shows
Each part shows and hides itself where it is, such as in a full-screen menu.
search-no-query

Shown while the field is empty.

Your own suggestions, such as popular searches.

search-with-query

Shown while the field has words in it.

The results, the empty message, Shopify's suggestions.

search-empty

Shown while the words found no product.

A message such as "No products found".

search-suggestions

Shown while Shopify has search suggestions for the words.

Shopify's suggestions. Put it inside search-with-query.

More in the guide.

Where it can go

  • Anywhere on the page.
  • Must contain one of input[name="query"], input[type="text"], input[type="search"], input:not([type]).
  • Out of place, it stays in the page and does nothing: without a text field, or with two and none named query.

What it requires

Nothing beyond Smootify: it works on every plan.

Fields in the form

Each field’s Name setting in Webflow tells Smootify what the field holds. It is a setting of the field, not a custom attribute.

NameFieldWhat it does
queryText field inputThe search text.

Attributes on the element

  • It reads limit.

Attributes inside it

GroupAttribute nameValues
Predictive searchsearch12

Loading

Its code loads only on pages that have smootify-search.

    ↑ ↓ to moveEnter to openEsc to close