Combobox Field Input
Combobox Field Input: Searchable combobox with filtered listbox, keyboard navigation, click-outside close, and hidden field for form posts. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Combobox Field Input
npx motion-ui-skill add combobox-field-inputComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Combobox Field Input
Searchable combobox with filtered listbox, keyboard navigation, click-outside close, and hidden field for form posts.
Install
npx motion-ui-skill add combobox-field-input
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { ComboboxFieldInput } from "@/components/inputs/combobox-field-input";
export function ComboboxFieldInputDemo() {
return (
<div className="flex items-center justify-center p-6">
<ComboboxFieldInput />
</div>
);
}
API Reference
ComboboxFieldInput
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |