Nuxt Swiftsearch
Components

<AisClearRefinements>

Clears active refinements globally or by attribute allowlist/blocklist.

Usage

<AisInstantSearch :configuration="configuration">
  <AisClearRefinements id="shipping" :included-attributes="['free_shipping']" />
</AisInstantSearch>

Props

PropTypeDefaultDescription
includedAttributesstring[]undefinedOnly clear refinements for these attributes.
excludedAttributesstring[]undefinedClear everything except these attributes.
transformItemsfunctionundefinedTransforms refinement items before clear behavior.
idstring""Optional widget ID for repeated instances in the same index.
Use either includedAttributes or excludedAttributes, not both.
Copyright © 2026