f0rextasy

Country Select

Forms 1

About

A dropdown selector for choosing a country that shows its flag emoji and country code, for forms like billing addresses or phone number inputs.

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

Code

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

Usage.tsx

import { CountrySelect } from "@/components/ui/country-select";

export default function CountrySelectDemo() {
  return (
    <div className="flex w-full max-w-xs items-center justify-center bg-background p-8 text-foreground">
      <CountrySelect className="w-64" />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    11
  • Stamp Seal

    Stamp Seal

    9
  • Network Graph

    Network Graph

    8
  • Empty State Card

    Empty State Card

    5
  • Board Checklist

    Board Checklist

    5
  • Running Order Timeline

    Running Order Timeline

    3
  • Invite Modal

    Invite Modal

    3
  • Checkbox

    Checkbox

    3

More in Forms

View all
  • Premium Auth

    Premium Auth

    525
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    16
  • Card Studio

    Card Studio

    41
  • Book A Demo 1

    Book A Demo 1

    74
  • Login 2

    Login 2

    7
  • HeroUI Field Error

    HeroUI Field Error

    10
  • Book A Demo 3

    Book A Demo 3

    89