Combobox Group

A React combobox that sorts its results into labeled groups with the ComboboxGroup component. Based on the WAI-ARIA Combobox Pattern.

Examples

Custom Items

Overview

This recipe groups combobox options into members and files. Type in the input to filter the groups. Use the arrow keys to move through the results.

The gallery includes the default example and the Custom Items example. Each example runs in an iframe. Expand a file below an example to read its source.

Components

The example uses the workspace’s @ariakit/ui Combobox components. Combobox connects the input and popover. ComboboxGroup labels each group, and ComboboxItem renders each result. The Custom Items example adds avatars and descriptions with ComboboxItemSlot, ComboboxItemContent, ComboboxItemLabel, and ComboboxItemDescription.