Skip to content
Search with filters, light
Light
Search with filters, dark
Dark

Every state

  • Search with filters, default, light
    Search with filters, default, dark

    default

  • Search with filters, focus, light
    Search with filters, focus, dark

    focus

  • Search with filters, chip-hover, light
    Search with filters, chip-hover, dark

    chip-hover

  • Search with filters, chip-focus, light
    Search with filters, chip-focus, dark

    chip-focus

  • Search with filters, removed, light
    Search with filters, removed, dark

    removed

  • Search with filters, many, light
    Search with filters, many, dark

    many

  • Search with filters, cleared, light
    Search with filters, cleared, dark

    cleared

Props

PropTypeDefaultWhat it does
idstring"filtered-search"Id prefix; make it unique on the page.
labelstring"Search the shop"Accessible name of the field.
placeholderstring"Search the shop"Placeholder text.
actionstring"/search"Where the form goes on submit, with the text as `name` and every chip as a hidden field.
namestring"q"Form field name of the text.
defaultQuerystring"frying pan"Starting text in the field.
filtersSearchBoxFiltersFilter[][ { name: "category", value: "cookware", label: "Cookware", facet: "Category" }, { name: "material", value: "cast-iro…The filters in force, in the order they were added.
filtersLabelstring"Filters in force"Accessible name of the chip list.
clearLabelstring"Clear all"Label of the clear-all button.
onFiltersChange(filters: SearchBoxFiltersFilter[]) => void–Called with the filters left, after a chip is removed or all are cleared.
classNamestring–Extra classes on the outer element.

More search boxes

All 6
search-box-03 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans