> ## Documentation Index
> Fetch the complete documentation index at: https://dokumentation.websale.de/llms.txt
> Use this file to discover all available pages before exploring further.

# ws-filter-reset

> The ws-filter-reset WebComponent provides a button that lets customers remove all active filters of a search result or category at once.

The `<ws-filter-reset>` component lets users remove all active filters with a single click on a "Reset filter" button. All applied filters are then removed both from the display and from the filter criteria of the search.

## Requirement

* There must be active filters set via the `<ws-filter>` component. Without any active filters, the button is not displayed.

## Component

The component can be embedded as follows on the category and search result page:

```html theme={"theme":{"light":"github-light","dark":"github-dark"},"languages":{"custom":["/languages/websale.json"]}}
<ws-filter-reset>
  <button>Remove all filters</button>
</ws-filter-reset>
```

## CSS & styling

This component does not generate any additional HTML code or specific CSS classes.

The button inside the component is freely definable and can be styled as needed.
