Skip to main content
  1. Docs
  2. Components
  3. Forms

Combobox

Pick from many by typing to filter: one value, or several as pills. It can ask a server.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.6
Renders
<input role="combobox">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Playground

Every prop, live, and the code it takes.

owner.tsx
import { Field } from "@qeetrix/react";
import { Combobox } from "@qeetrix/react/experimental";

<Field label="Owner">
  <Combobox items={people} placeholder="e.g. Priya Sharma" />
</Field>

02

Type to filter

A Select that narrows as you type: labels are matched, ignoring case and accents; values are IDs.

03

Grouped

Options in groups, each with its heading.

04

Several

multiple: chosen values as pills. Backspace removes the last; the arrow keys reach the rest.

05

Searching on the server

onSearch runs when typing pauses, and shows the results as given; loading says "Searching…".

Next — ComboboxUsage