# SelectedFilters

### Purpose

The SelectedFilters component is used directly from the appbaseio package to display a list of active filters which can be quickly cleared.

### Usage

{% tabs %}
{% tab title="Basic" %}

```tsx
import React from "react";
import { ReactiveComponent } from '@appbaseio/reactivesearch';

export const Component: React.FC = () => {
  return (
    <SelectedFilters showClearAll={true} clearAllLabel="Clear filters" />
  );
};
```

{% endtab %}
{% endtabs %}

### Props

See: <https://docs.reactivesearch.io/docs/reactivesearch/v3/advanced/selectedfilters/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://search.docs.reactify.com.au/4/components/selectedfilters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
