Region Currency

Region selector with a globe header showing flag, country, and currency, and a list of regions with flags and currency codes plus a check on the active one.

United KingdomΒ· GBP Β£

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Commerce30 } from "@/components/beste/piece/commerce30";

<Commerce30
  selected="United Kingdom"
  regions={[
    {
      "flag": "πŸ‡ΊπŸ‡Έ",
      "country": "United States",
      "currency": "USD",
      "symbol": "$"
    },
    {
      "flag": "πŸ‡¬πŸ‡§",
      "country": "United Kingdom",
      "currency": "GBP",
      "symbol": "Β£"
    },
    {
      "flag": "πŸ‡ͺπŸ‡Ί",
      "country": "Eurozone",
      "currency": "EUR",
      "symbol": "€"
    },
    {
      "flag": "πŸ‡―πŸ‡΅",
      "country": "Japan",
      "currency": "JPY",
      "symbol": "Β₯"
    }
  ]}
/>