About
A searchable dropdown input that lets users filter and select one option from a list without leaving the text field.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Combobox to your project and fits it to your theme.
Code
How Combobox is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import Combobox from "@/components/ui/combobox";
const frameworks = [
{ value: "next", label: "Next.js" },
{ value: "remix", label: "Remix" },
{ value: "astro", label: "Astro" },
{ value: "svelte", label: "SvelteKit" },
{ value: "nuxt", label: "Nuxt" },
];
export default function ComboboxDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center p-10">
<div className="w-full max-w-sm">
<Combobox
label="Framework"
options={frameworks}
placeholder="Search frameworks…"
description="Pick the framework your project uses."
/>
</div>
</div>
);
}








