Filters large lists to selectable options based on the matching query.
import { Combobox } from "@/components/ui/combobox"; export default function CustomWidthInputDemo() { return ( <div className="w-3/4"> <Combobox placeholder="Search..." width={256}> <Combobox.Input /> <Combobox.List> <Combobox.Option value="a">One</Combobox.Option> <Combobox.Option value="b">Two</Combobox.Option> <Combobox.Option value="c">Three</Combobox.Option> </Combobox.List> </Combobox> </div> ); }
Part of Geist — browse the full library on 21st.dev.