Cnippet

Country Combobox

Component 19

About

A searchable country combobox with an outline trigger button, popup search input with icon, empty state, and scrollable list.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Country Combobox to your project and fits it to your theme.

Code

How Country Combobox is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import CountryCombobox from "@/components/ui/v-combobox-10";

export default function Default() {
  return (
    <div className="flex min-h-72 w-full items-center justify-center p-6">
      <div className="w-full max-w-xs">
        <CountryCombobox />
      </div>
    </div>
  );
}

Dependencies

Explore more

Part of Cnippet — browse the full library on 21st.dev.