# Select

Pick one or more values from a list—as a plain dropdown, a searchable list or a text input with suggestions.

Page: https://sui.draco.dev/docs/components/select

### Example: select-demo

```tsx
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectList,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";

const items = [
  { label: "Select a fruit", value: null },
  { label: "Apple", value: "apple" },
  { label: "Banana", value: "banana" },
  { label: "Blueberry", value: "blueberry" },
  { label: "Grapes", value: "grapes" },
  { label: "Pineapple", value: "pineapple" },
  { label: "Kiwi", value: "kiwi" },
  { label: "Mango", value: "mango" },
  { label: "Orange", value: "orange" },
  { label: "Pear", value: "pear" },
  { label: "Strawberry", value: "strawberry" },
  { label: "Watermelon", value: "watermelon" },
];

export function SelectDemo() {
  return (
    <Select items={items}>
      <SelectTrigger className="max-w-48">
        <SelectValue />
      </SelectTrigger>
      <SelectContent className="max-h-64">
        <SelectList>
          <SelectGroup>
            <SelectLabel>Fruits</SelectLabel>
            {items.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectDemo;
```

## Installation

```bash
npx shadcn@latest add @sui/select
```

With pnpm, Yarn or Bun, use `pnpm dlx`, `yarn dlx` or `bunx --bun` in place of `npx`, and `pnpm add`, `yarn add` or `bun add` in place of `npm install`.

Install with the shadcn CLI or use the shared `@workspace/ui` package. Follow the [installation guide](/docs/installation) to configure the registry, load styles, and choose import aliases.

## Usage

```tsx showLineNumbers
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectList,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select"
```

```tsx showLineNumbers
const items = [
  { label: "Light", value: "light" },
  { label: "Dark", value: "dark" },
  { label: "System", value: "system" },
]

<Select items={items}>
  <SelectTrigger className="w-[180px]">
    <SelectValue placeholder="Theme" />
  </SelectTrigger>
  <SelectContent>
    <SelectList>
      {items.map((item) => (
        <SelectItem key={item.value} value={item.value}>
          {item.label}
        </SelectItem>
      ))}
    </SelectList>
  </SelectContent>
</Select>
```

## Composition

`Select` takes its shape from the parts you put in it. Every shape shares `SelectContent`, `SelectList` and `SelectItem`.

```text
Select
├── SelectTrigger            ← plain dropdown
│   └── SelectValue
├── SelectInput              ← text input as the trigger
├── SelectChips              ← multiple values as chips
│   ├── SelectChip
│   └── SelectChipsInput
└── SelectContent
    ├── SelectSearch         ← search box inside the popup
    ├── SelectEmpty
    └── SelectList
        ├── SelectGroup
        │   ├── SelectLabel
        │   └── SelectItem
        ├── SelectSeparator
        └── SelectItem
```

## Searchable

The popup has no search box until you add one: put `SelectSearch` inside `SelectContent` to filter the list. Static `SelectItem` children are filtered too when `Select` has `items`. Without it the arrow keys and Enter still work.

### Example: select-searchable

```tsx
"use client";

import {
  Select,
  SelectContent,
  SelectEmpty,
  SelectItem,
  SelectList,
  SelectSearch,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";

const countries = [
  { code: "", value: "", continent: "", label: "Select country" },
  {
    code: "ar",
    value: "argentina",
    label: "Argentina",
    continent: "South America",
  },
  { code: "au", value: "australia", label: "Australia", continent: "Oceania" },
  { code: "br", value: "brazil", label: "Brazil", continent: "South America" },
  { code: "ca", value: "canada", label: "Canada", continent: "North America" },
  { code: "cn", value: "china", label: "China", continent: "Asia" },
  {
    code: "co",
    value: "colombia",
    label: "Colombia",
    continent: "South America",
  },
  { code: "eg", value: "egypt", label: "Egypt", continent: "Africa" },
  { code: "fr", value: "france", label: "France", continent: "Europe" },
  { code: "de", value: "germany", label: "Germany", continent: "Europe" },
  { code: "it", value: "italy", label: "Italy", continent: "Europe" },
  { code: "jp", value: "japan", label: "Japan", continent: "Asia" },
  { code: "ke", value: "kenya", label: "Kenya", continent: "Africa" },
  { code: "mx", value: "mexico", label: "Mexico", continent: "North America" },
  {
    code: "nz",
    value: "new-zealand",
    label: "New Zealand",
    continent: "Oceania",
  },
  { code: "ng", value: "nigeria", label: "Nigeria", continent: "Africa" },
  {
    code: "za",
    value: "south-africa",
    label: "South Africa",
    continent: "Africa",
  },
  { code: "kr", value: "south-korea", label: "South Korea", continent: "Asia" },
  {
    code: "gb",
    value: "united-kingdom",
    label: "United Kingdom",
    continent: "Europe",
  },
  {
    code: "us",
    value: "united-states",
    label: "United States",
    continent: "North America",
  },
];

export function SelectSearchable() {
  return (
    <Select items={countries} defaultValue={countries[0]}>
      <SelectTrigger className="max-w-64">
        <SelectValue />
      </SelectTrigger>
      <SelectContent>
        <SelectSearch placeholder="Search" />
        <SelectEmpty>No items found.</SelectEmpty>
        <SelectList>
          {(item) => (
            <SelectItem key={item.code} value={item}>
              {item.label}
            </SelectItem>
          )}
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectSearchable;
```

## Input

Use `SelectInput` outside `SelectContent` to make the text input the trigger.

### Example: select-input

```tsx
"use client";

import {
  Select,
  SelectContent,
  SelectEmpty,
  SelectInput,
  SelectItem,
  SelectList,
} from "@workspace/ui/components/select";

const frameworks = [
  "Next.js",
  "SvelteKit",
  "Nuxt.js",
  "Remix",
  "Astro",
] as const;

export default function SelectInputDemo() {
  return (
    <Select items={frameworks}>
      <SelectInput className="max-w-64" placeholder="Select a framework" />
      <SelectContent>
        <SelectEmpty>No items found.</SelectEmpty>
        <SelectList>
          {(item) => (
            <SelectItem key={item} value={item}>
              {item}
            </SelectItem>
          )}
        </SelectList>
      </SelectContent>
    </Select>
  );
}
```

## Clear

Add `showClear` to `SelectInput` to show a button that clears the value.

### Example: select-clear

```tsx
"use client";

import {
  Select,
  SelectContent,
  SelectEmpty,
  SelectInput,
  SelectItem,
  SelectList,
} from "@workspace/ui/components/select";

const frameworks = [
  "Next.js",
  "SvelteKit",
  "Nuxt.js",
  "Remix",
  "Astro",
] as const;

export function SelectClearDemo() {
  return (
    <Select items={frameworks} defaultValue={frameworks[0]}>
      <SelectInput
        className="max-w-64"
        placeholder="Select a framework"
        showClear
      />
      <SelectContent>
        <SelectEmpty>No items found.</SelectEmpty>
        <SelectList>
          {(item) => (
            <SelectItem key={item} value={item}>
              {item}
            </SelectItem>
          )}
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectClearDemo;
```

## Multiple

Set `multiple` on `Select` and show the values with `SelectChips`. Pass the anchor from `useSelectAnchor` to `SelectContent` so the popup lines up with the chips.

### Example: select-multiple

```tsx
"use client";

import {
  Select,
  SelectChip,
  SelectChips,
  SelectChipsInput,
  SelectContent,
  SelectEmpty,
  SelectItem,
  SelectList,
  SelectValue,
  useSelectAnchor,
} from "@workspace/ui/components/select";
import * as React from "react";

const frameworks = [
  "Next.js",
  "SvelteKit",
  "Nuxt.js",
  "Remix",
  "Astro",
] as const;

export function SelectMultiple() {
  const anchor = useSelectAnchor();

  return (
    <Select
      multiple
      autoHighlight
      items={frameworks}
      defaultValue={[frameworks[0]]}
    >
      <SelectChips ref={anchor} className="w-full max-w-xs">
        <SelectValue>
          {(values) => (
            <React.Fragment>
              {values.map((value: string) => (
                <SelectChip key={value}>{value}</SelectChip>
              ))}
              <SelectChipsInput />
            </React.Fragment>
          )}
        </SelectValue>
      </SelectChips>
      <SelectContent anchor={anchor}>
        <SelectEmpty>No items found.</SelectEmpty>
        <SelectList>
          {(item) => (
            <SelectItem key={item} value={item}>
              {item}
            </SelectItem>
          )}
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectMultiple;
```

## Free Text

Control `inputValue` to keep whatever the user types, including text that matches no item. The list only suggests.

### Example: select-free-text

```tsx
"use client";

import {
  Field,
  FieldDescription,
  FieldLabel,
} from "@workspace/ui/components/field";
import {
  Select,
  SelectContent,
  SelectEmpty,
  SelectInput,
  SelectItem,
  SelectList,
} from "@workspace/ui/components/select";
import { useId, useState } from "react";

// Select resets its input on close and syncs it to the selected label; keep
// only what the user typed, pasted or cleared so free text survives.
function isUserEdit(details: { reason: string; event?: Event }) {
  if (details.reason === "input-clear") return details.event?.type === "input";
  return details.reason !== "none";
}

import type { ExampleProps } from "../types";

export default function SelectFreeText({ locale }: ExampleProps) {
  const chinese = locale === "zh-CN";
  const id = useId();
  const [query, setQuery] = useState("");
  const cities = chinese
    ? ["北京", "上海", "杭州", "成都", "深圳"]
    : ["Beijing", "Shanghai", "Hangzhou", "Chengdu", "Shenzhen"];

  return (
    <Field className="w-full max-w-sm">
      <FieldLabel htmlFor={id}>{chinese ? "目的地" : "Destination"}</FieldLabel>
      <Select
        items={cities}
        inputValue={query}
        onInputValueChange={(value, details) => {
          if (isUserEdit(details)) setQuery(value);
        }}
        onValueChange={(city: string | null) => setQuery(city ?? "")}
      >
        <SelectInput
          id={id}
          placeholder={chinese ? "选择或输入城市" : "Choose or type a city"}
          showClear
        />
        <SelectContent>
          <SelectEmpty>
            {chinese
              ? "没有匹配的城市，仍可使用你输入的名称"
              : "No matching cities. You can still use your own text."}
          </SelectEmpty>
          <SelectList>
            {(city: string) => (
              <SelectItem key={city} value={city}>
                {city}
              </SelectItem>
            )}
          </SelectList>
        </SelectContent>
      </Select>
      <FieldDescription>
        {chinese
          ? "控制 inputValue 后，输入框的文字就是值，建议不会限制输入"
          : "Control inputValue and the typed text becomes the value; suggestions never restrict it."}
      </FieldDescription>
      <output className="text-muted-foreground text-sm" aria-live="polite">
        {chinese ? "当前输入" : "Current input"}: {query || "—"}
      </output>
    </Field>
  );
}
```

## Groups

Use `SelectGroup`, `SelectLabel`, and `SelectSeparator` to organize items.

### Example: select-groups

```tsx
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectList,
  SelectSeparator,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";

export function SelectGroups() {
  const fruits = [
    { label: "Apple", value: "apple" },
    { label: "Banana", value: "banana" },
    { label: "Blueberry", value: "blueberry" },
  ];
  const vegetables = [
    { label: "Carrot", value: "carrot" },
    { label: "Broccoli", value: "broccoli" },
    { label: "Spinach", value: "spinach" },
  ];
  const allItems = [
    { label: "Select a fruit", value: null },
    ...fruits,
    ...vegetables,
  ];
  return (
    <Select items={allItems}>
      <SelectTrigger className="max-w-48">
        <SelectValue />
      </SelectTrigger>
      <SelectContent>
        <SelectList>
          <SelectGroup>
            <SelectLabel>Fruits</SelectLabel>
            {fruits.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
          <SelectSeparator />
          <SelectGroup>
            <SelectLabel>Vegetables</SelectLabel>
            {vegetables.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectGroups;
```

With a search input, render groups from `items` with `SelectCollection`.

### Example: select-input-groups

```tsx
"use client";

import {
  Select,
  SelectCollection,
  SelectContent,
  SelectEmpty,
  SelectGroup,
  SelectInput,
  SelectItem,
  SelectLabel,
  SelectList,
  SelectSeparator,
} from "@workspace/ui/components/select";

const timezones = [
  {
    value: "Americas",
    items: [
      "(GMT-5) New York",
      "(GMT-8) Los Angeles",
      "(GMT-6) Chicago",
      "(GMT-5) Toronto",
      "(GMT-8) Vancouver",
      "(GMT-3) São Paulo",
    ],
  },
  {
    value: "Europe",
    items: [
      "(GMT+0) London",
      "(GMT+1) Paris",
      "(GMT+1) Berlin",
      "(GMT+1) Rome",
      "(GMT+1) Madrid",
      "(GMT+1) Amsterdam",
    ],
  },
  {
    value: "Asia/Pacific",
    items: [
      "(GMT+9) Tokyo",
      "(GMT+8) Shanghai",
      "(GMT+8) Singapore",
      "(GMT+4) Dubai",
      "(GMT+11) Sydney",
      "(GMT+9) Seoul",
    ],
  },
] as const;

export function SelectInputGroups() {
  return (
    <Select items={timezones}>
      <SelectInput className="max-w-64" placeholder="Select a timezone" />
      <SelectContent>
        <SelectEmpty>No timezones found.</SelectEmpty>
        <SelectList>
          {(group, index) => (
            <SelectGroup key={group.value} items={group.items}>
              <SelectLabel>{group.value}</SelectLabel>
              <SelectCollection>
                {(item) => (
                  <SelectItem key={item} value={item}>
                    {item}
                  </SelectItem>
                )}
              </SelectCollection>
              {index < timezones.length - 1 && <SelectSeparator />}
            </SelectGroup>
          )}
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectInputGroups;
```

## Scrollable

A select with many items that scrolls.

### Example: select-scrollable

```tsx
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectList,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";

const northAmerica = [
  { label: "Eastern Standard Time", value: "est" },
  { label: "Central Standard Time", value: "cst" },
  { label: "Mountain Standard Time", value: "mst" },
  { label: "Pacific Standard Time", value: "pst" },
  { label: "Alaska Standard Time", value: "akst" },
  { label: "Hawaii Standard Time", value: "hst" },
];

const europeAfrica = [
  { label: "Greenwich Mean Time", value: "gmt" },
  { label: "Central European Time", value: "cet" },
  { label: "Eastern European Time", value: "eet" },
  { label: "Western European Summer Time", value: "west" },
  { label: "Central Africa Time", value: "cat" },
  { label: "East Africa Time", value: "eat" },
];

const asia = [
  { label: "Moscow Time", value: "msk" },
  { label: "India Standard Time", value: "ist" },
  { label: "China Standard Time", value: "cst_china" },
  { label: "Japan Standard Time", value: "jst" },
  { label: "Korea Standard Time", value: "kst" },
  { label: "Indonesia Central Standard Time", value: "ist_indonesia" },
];

const australiaPacific = [
  { label: "Australian Western Standard Time", value: "awst" },
  { label: "Australian Central Standard Time", value: "acst" },
  { label: "Australian Eastern Standard Time", value: "aest" },
  { label: "New Zealand Standard Time", value: "nzst" },
  { label: "Fiji Time", value: "fjt" },
];

const southAmerica = [
  { label: "Argentina Time", value: "art" },
  { label: "Bolivia Time", value: "bot" },
  { label: "Brasilia Time", value: "brt" },
  { label: "Chile Standard Time", value: "clt" },
];

const items = [
  { label: "Select a timezone", value: null },
  ...northAmerica,
  ...europeAfrica,
  ...asia,
  ...australiaPacific,
  ...southAmerica,
];

export function SelectScrollable() {
  return (
    <Select items={items}>
      <SelectTrigger className="max-w-64">
        <SelectValue />
      </SelectTrigger>
      <SelectContent>
        <SelectList>
          <SelectGroup>
            <SelectLabel>North America</SelectLabel>
            {northAmerica.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
          <SelectGroup>
            <SelectLabel>Europe & Africa</SelectLabel>
            {europeAfrica.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
          <SelectGroup>
            <SelectLabel>Asia</SelectLabel>
            {asia.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
          <SelectGroup>
            <SelectLabel>Australia & Pacific</SelectLabel>
            {australiaPacific.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
          <SelectGroup>
            <SelectLabel>South America</SelectLabel>
            {southAmerica.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectScrollable;
```

## Disabled

### Example: select-disabled

```tsx
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectList,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";

export function SelectDisabled() {
  const items = [
    { label: "Select a fruit", value: null },
    { label: "Apple", value: "apple" },
    { label: "Banana", value: "banana" },
    { label: "Blueberry", value: "blueberry" },
    { label: "Grapes", value: "grapes", disabled: true },
    { label: "Pineapple", value: "pineapple" },
  ];
  return (
    <Select items={items} disabled>
      <SelectTrigger className="max-w-48">
        <SelectValue />
      </SelectTrigger>
      <SelectContent>
        <SelectList>
          <SelectGroup>
            {items.map((item) => (
              <SelectItem
                key={item.value}
                value={item.value}
                disabled={item.disabled}
              >
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectDisabled;
```

## Invalid

Add the `data-invalid` attribute to the `Field` component and the `aria-invalid` attribute to the `SelectTrigger` component to show an error state.

```tsx showLineNumbers /data-invalid/ /aria-invalid/
<Field data-invalid>
  <FieldLabel>Fruit</FieldLabel>
  <SelectTrigger aria-invalid>
    <SelectValue />
  </SelectTrigger>
</Field>
```

### Example: select-invalid

```tsx
import { Field, FieldError, FieldLabel } from "@workspace/ui/components/field";
import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectList,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";

const items = [
  { label: "Select a fruit", value: null },
  { label: "Apple", value: "apple" },
  { label: "Banana", value: "banana" },
  { label: "Blueberry", value: "blueberry" },
];

export function SelectInvalid() {
  return (
    <Field data-invalid className="w-full max-w-48">
      <FieldLabel>Fruit</FieldLabel>
      <Select items={items}>
        <SelectTrigger aria-invalid>
          <SelectValue />
        </SelectTrigger>
        <SelectContent>
          <SelectList>
            <SelectGroup>
              {items.map((item) => (
                <SelectItem key={item.value} value={item.value}>
                  {item.label}
                </SelectItem>
              ))}
            </SelectGroup>
          </SelectList>
        </SelectContent>
      </Select>
      <FieldError>Please select a fruit.</FieldError>
    </Field>
  );
}

export default SelectInvalid;
```

## RTL

To enable RTL support in shadcn/ui, see the [RTL configuration guide](https://ui.shadcn.com/docs/rtl).

### Example: select-rtl

```tsx
"use client";

import {
  Select,
  SelectContent,
  SelectGroup,
  SelectItem,
  SelectLabel,
  SelectList,
  SelectSeparator,
  SelectTrigger,
  SelectValue,
} from "@workspace/ui/components/select";
import * as React from "react";
import { type Translations, useTranslation } from "./support";

const translations: Translations = {
  en: {
    dir: "ltr",
    values: {
      selectFruit: "Select a fruit",
      fruits: "Fruits",
      apple: "Apple",
      banana: "Banana",
      blueberry: "Blueberry",
      grapes: "Grapes",
      pineapple: "Pineapple",
      vegetables: "Vegetables",
      carrot: "Carrot",
      broccoli: "Broccoli",
      spinach: "Spinach",
    },
  },
  ar: {
    dir: "rtl",
    values: {
      selectFruit: "اختر فاكهة",
      fruits: "الفواكه",
      apple: "تفاح",
      banana: "موز",
      blueberry: "توت أزرق",
      grapes: "عنب",
      pineapple: "أناناس",
      vegetables: "الخضروات",
      carrot: "جزر",
      broccoli: "بروكلي",
      spinach: "سبانخ",
    },
  },
  he: {
    dir: "rtl",
    values: {
      selectFruit: "בחר פרי",
      fruits: "פירות",
      apple: "תפוח",
      banana: "בננה",
      blueberry: "אוכמניה",
      grapes: "ענבים",
      pineapple: "אננס",
      vegetables: "ירקות",
      carrot: "גזר",
      broccoli: "ברוקולי",
      spinach: "תרד",
    },
  },
};

export function SelectRtl() {
  const { dir, t, language } = useTranslation(translations, "ar");
  const [selectedFruit, setSelectedFruit] = React.useState<string | null>(null);

  const fruits = [
    { label: t.apple, value: "apple" },
    { label: t.banana, value: "banana" },
    { label: t.blueberry, value: "blueberry" },
    { label: t.grapes, value: "grapes" },
    { label: t.pineapple, value: "pineapple" },
  ];

  const vegetables = [
    { label: t.carrot, value: "carrot" },
    { label: t.broccoli, value: "broccoli" },
    { label: t.spinach, value: "spinach" },
  ];

  const allItems = [
    { label: t.selectFruit, value: null },
    ...fruits,
    ...vegetables,
  ];

  return (
    <Select
      items={allItems}
      value={selectedFruit}
      onValueChange={setSelectedFruit}
    >
      <SelectTrigger className="w-32" dir={dir}>
        <SelectValue />
      </SelectTrigger>
      <SelectContent dir={dir} data-lang={dir === "rtl" ? language : undefined}>
        <SelectList>
          <SelectGroup>
            <SelectLabel>{t.fruits}</SelectLabel>
            {fruits.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
          <SelectSeparator />
          <SelectGroup>
            <SelectLabel>{t.vegetables}</SelectLabel>
            {vegetables.map((item) => (
              <SelectItem key={item.value} value={item.value}>
                {item.label}
              </SelectItem>
            ))}
          </SelectGroup>
        </SelectList>
      </SelectContent>
    </Select>
  );
}

export default SelectRtl;
```

## API Reference

`Select` is built on Base UI Combobox. See the [Base UI Combobox](https://base-ui.com/react/components/combobox#api-reference) documentation.

- [Documentation](https://base-ui.com/react/components/combobox)
- [API reference](https://base-ui.com/react/components/combobox#api-reference)
