Combobox preview
A controlled searchable single-selection field with native form value, accessible active-option keyboard behavior, and consumer-owned re…
pro · Forms · primitive
When to use
- Use it when a product interface needs a controlled searchable single-selection field with native form value, accessible active-option keyboard behavior, and consumer-owned results.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose select-menu instead when use the select menu for a short fixed option list that does not need text search.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/comboboxImport components/ui/tidal.css, components/ui/combobox.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/combobox.css";
import{TidalCombobox}from"./components/ui/combobox";
export default(p:Parameters<typeof TidalCombobox>[0])=><div className="tidal-scope"><TidalCombobox {...p}/></div>;API and props
TidalCombobox.formValue (required)stringRequired form value value accepted by this exported component.
TidalCombobox.label (required)ReactNodeRequired label value accepted by this exported component.
TidalCombobox.name (required)stringRequired name value accepted by this exported component.
TidalCombobox.onActiveOptionChange (required)(optionId: string | undefined, event: TidalComboboxActiveEvent) => voidCallback invoked when the active option change interaction is proposed.
TidalCombobox.onOpenChange (required)(open: boolean, event: TidalComboboxOpenEvent) => voidReceives native React interaction events, or a stable deferred-pointer-blur envelope after an outside pointer activation.
TidalCombobox.onQueryChange (required)(value: string, event: ChangeEvent<HTMLInputElement>) => voidCallback invoked when the query change interaction is proposed.
TidalCombobox.onSelectionChange (required)(option: TidalComboboxOption, event: TidalComboboxSelectionEvent) => voidCallback invoked when the selection change interaction is proposed.
TidalCombobox.open (required)booleanRequired open value accepted by this exported component.
TidalCombobox.options (required)ReadonlyArray<TidalComboboxOption>Required options value accepted by this exported component.
TidalCombobox.query (required)stringRequired query value accepted by this exported component.
TidalCombobox.activeOptionIdstring | undefinedOptional active option id value accepted by this exported component.
TidalCombobox.descriptionReactNodeOptional description value accepted by this exported component.
TidalCombobox.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalCombobox.emptyMessageReactNodeOptional empty message value accepted by this exported component.
TidalCombobox.errorReactNodeOptional error value accepted by this exported component.
TidalCombobox.formstring | undefinedOptional form value accepted by this exported component.
TidalCombobox.hiddenInputPropsOmit<InputHTMLAttributes<HTMLInputElement>, "disabled" | "form" | "name" | "type" | "value" | "defaultValue" | "children" | "dangerouslySetInnerHTML" | "readOnly"> | undefinedOptional hidden input props value accepted by this exported component.
TidalCombobox.hiddenInputRefRef<HTMLInputElement> | undefinedOptional hidden input ref value accepted by this exported component.
TidalCombobox.hintReactNodeOptional hint value accepted by this exported component.
TidalCombobox.inputPropsOmit<InputHTMLAttributes<HTMLInputElement>, "disabled" | "type" | "value" | "defaultValue" | "role" | "aria-activedescendant" | "aria-autocomplete" | "aria-controls" | "aria-disabled" | "aria-expanded" | "aria-readonly" | "children" | "dangerouslySetInnerHTML" | "placeholder" | "readOnly"> | undefinedOptional input props value accepted by this exported component.
TidalCombobox.inputRefRef<HTMLInputElement> | undefinedOptional input ref value accepted by this exported component.
TidalCombobox.labelsPartial<TidalComboboxLabels> | undefinedOptional labels value accepted by this exported component.
TidalCombobox.placeholderstring | undefinedOptional placeholder value accepted by this exported component.
TidalCombobox.readOnlyboolean | undefinedOptional read only value accepted by this exported component.
TidalCombobox.selectedLabelReactNodeOptional selected label value accepted by this exported component.
TidalCombobox.selectedOptionIdstring | undefinedOptional selected option id value accepted by this exported component.
TidalCombobox.toggleButtonPropsOmit<ButtonHTMLAttributes<HTMLButtonElement>, "disabled" | "type" | "aria-controls" | "aria-disabled" | "aria-expanded" | "aria-label" | "children" | "dangerouslySetInnerHTML"> | undefinedOptional toggle button props value accepted by this exported component.
TidalCombobox.toggleButtonRefRef<HTMLButtonElement> | undefinedOptional toggle button ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.