Component · C-010
Combobox
A text input with incremental filtering and single-option selection. Items are strings, and the empty and trigger labels are required.
Install
Install koten-theme first when the project has no Koten tokens yet.
npx shadcn@latest add https://koten.codehive.com.co/r/combobox.jsonAccessibility
- The input is labelled through htmlFor/id, and the icon trigger carries triggerLabel as its aria-label.
- Filtering happens while typing; emptyLabel provides the visible message when nothing matches.
- Escape closes the popup and keeps the typed text so it can be corrected.