Combobox
UI SDK Combobox: a filtering input with clear and trigger buttons and a popup list. Works inside Field; agents choose by label.
Example
Clear agent profileShow agent profiles
combobox-demo.tsxCopy code
Installation
Copy code
Usage
ImportCopy code
API reference
Combobox
Takes ComboboxProps<T, Multiple>.
ComboboxControl
Takes <div> attributes and render.
ComboboxInput
ComboboxTrigger
| Prop | Type | Default |
|---|---|---|
tooltip | ControlTooltipOption | – |
Also takes every prop of UI SDK ComboboxTrigger.
ComboboxClear
| Prop | Type | Default |
|---|---|---|
tooltip | ControlTooltipOption | – |
Also takes every prop of UI SDK ComboboxClear.
ComboboxContent
ComboboxEmpty
ComboboxItem
ComboboxItemIndicator
ComboboxGroupLabel
ComboboxSeparator
Other exports
ComboboxGroupComboboxListcreateComboboxControllertype ComboboxControllertype ComboboxItemStatetype ListDatatype ComboboxPropsAccessibility
- A filtering input with listbox semantics: the highlight moves with arrow keys while focus stays in the input.
- Clear and trigger buttons need their own names.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.