KodeKarsa UI

Forms

Combobox

Search, then pick one or several values. Multiple mode shows chips.

src/components/ui/combobox.tsxBehavior from @ui-sdk/react/combobox

One value

Several values with chips

Import

tsx
import { Combobox, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxList } from "@/components/ui/combobox";

Guidelines

  • Always include ComboboxEmpty for searches that find nothing.