# Combobox

> An input with a list of suggestions that filters as you type.

Source: https://ui.cortexcn.dev/docs/components/combobox

## Installation

```bash
npx shadcn@latest add @cortexcn/combobox
```

## Usage

```tsx
import { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor } from "@/components/combobox";
```

## Examples

### Basic

### Disabled

### Invalid

### With clear button

### With auto highlight

### With groups

### With groups and separator

### Large list (100 items)

### With icon addon

### Combobox in popup

### Form with combobox

### Combobox multiple

### Combobox multiple disabled

### Combobox multiple invalid

### Combobox multiple (no remove)

### With custom item rendering

### Combobox in dialog

### With other inputs

### Disabled items

Adapted from the [shadcn/ui Combobox](https://ui.shadcn.com/docs/components/radix/combobox) (MIT).