[object Promise]

# QuickFilter API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Data Grid - Quick Filter component](/x/react-data-grid/components/quick-filter)

## Import

```jsx
import { QuickFilter } from '@mui/x-data-grid/components';
// or
import { QuickFilter } from '@mui/x-data-grid';
// or
import { QuickFilter } from '@mui/x-data-grid-pro';
// or
import { QuickFilter } from '@mui/x-data-grid-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| className | `func \| string` | - | No |  |
| debounceMs | `number` | `150` | No |  |
| defaultExpanded | `bool` | `false` | No |  |
| expanded | `bool` | - | No |  |
| formatter | `function(values: Array<any>) => string` | `(values: string[]) => values.join(' ')` | No |  |
| onExpandedChange | `function(expanded: boolean) => void` | - | No |  |
| parser | `function(input: string) => Array<any>` | `(searchText: string) => searchText.split(' ').filter((word) => word !== '')` | No |  |
| render | `element \| func` | - | No |  |

> **Note**: The `ref` is forwarded to the root element (GridRoot).

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-data-grid/src/components/quickFilter/QuickFilter.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-data-grid/src/components/quickFilter/QuickFilter.tsx)

# QuickFilterClear API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Data Grid - Quick Filter component](/x/react-data-grid/components/quick-filter)

## Import

```jsx
import { QuickFilterClear } from '@mui/x-data-grid/components';
// or
import { QuickFilterClear } from '@mui/x-data-grid';
// or
import { QuickFilterClear } from '@mui/x-data-grid-pro';
// or
import { QuickFilterClear } from '@mui/x-data-grid-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| className | `func \| string` | - | No |  |
| color | `'default' \| 'inherit' \| 'primary'` | - | No |  |
| component | `elementType` | - | No |  |
| disabled | `bool` | - | No |  |
| edge | `'end' \| 'start' \| false` | - | No |  |
| href | `string` | - | No |  |
| id | `string` | - | No |  |
| label | `string` | - | No |  |
| rel | `string` | - | No |  |
| render | `element \| func` | - | No |  |
| role | `string` | - | No |  |
| size | `'large' \| 'medium' \| 'small'` | - | No |  |
| tabIndex | `number` | - | No |  |
| target | `string` | - | No |  |
| title | `string` | - | No |  |

> **Note**: The `ref` is forwarded to the root element (GridRoot).

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-data-grid/src/components/quickFilter/QuickFilterClear.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-data-grid/src/components/quickFilter/QuickFilterClear.tsx)

# QuickFilterControl API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Data Grid - Quick Filter component](/x/react-data-grid/components/quick-filter)

## Import

```jsx
import { QuickFilterControl } from '@mui/x-data-grid/components';
// or
import { QuickFilterControl } from '@mui/x-data-grid';
// or
import { QuickFilterControl } from '@mui/x-data-grid-pro';
// or
import { QuickFilterControl } from '@mui/x-data-grid-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| autoComplete | `string` | - | No |  |
| autoFocus | `bool` | - | No |  |
| className | `func \| string` | - | No |  |
| color | `'error' \| 'primary'` | - | No |  |
| disabled | `bool` | - | No |  |
| error | `bool` | - | No |  |
| fullWidth | `bool` | - | No |  |
| helperText | `string` | - | No |  |
| id | `string` | - | No |  |
| inputRef | `func \| { current?: object }` | - | No |  |
| label | `node` | - | No |  |
| multiline | `bool` | - | No |  |
| placeholder | `string` | - | No |  |
| render | `element \| func` | - | No |  |
| role | `string` | - | No |  |
| size | `'medium' \| 'small'` | - | No |  |
| slotProps | `object` | - | No |  |
| tabIndex | `number` | - | No |  |
| type | `string` | - | No |  |
| value | `string` | - | No |  |

> **Note**: The `ref` is forwarded to the root element (GridRoot).

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-data-grid/src/components/quickFilter/QuickFilterControl.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-data-grid/src/components/quickFilter/QuickFilterControl.tsx)

# QuickFilterTrigger API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Data Grid - Quick Filter component](/x/react-data-grid/components/quick-filter)

## Import

```jsx
import { QuickFilterTrigger } from '@mui/x-data-grid/components';
// or
import { QuickFilterTrigger } from '@mui/x-data-grid';
// or
import { QuickFilterTrigger } from '@mui/x-data-grid-pro';
// or
import { QuickFilterTrigger } from '@mui/x-data-grid-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| className | `func \| string` | - | No |  |
| disabled | `bool` | - | No |  |
| id | `string` | - | No |  |
| render | `element \| func` | - | No |  |
| role | `string` | - | No |  |
| size | `'large' \| 'medium' \| 'small'` | - | No |  |
| startIcon | `node` | - | No |  |
| tabIndex | `number` | - | No |  |
| title | `string` | - | No |  |

> **Note**: The `ref` is forwarded to the root element (GridRoot).

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-data-grid/src/components/quickFilter/QuickFilterTrigger.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-data-grid/src/components/quickFilter/QuickFilterTrigger.tsx)