@geobuff/flags

1.31.0 • Public • Published

geobuff/flags

npm David

A collection of free-to-use flag URL's.

Install

npm i @geobuff/flags

Usage

import React from "react";
import { getFlagUrl } from "@geobuff/flags";

const ExampleComponent = () => (
  <>
    <img src={getFlagUrl("nz")} />
  </>
);

export default ExampleComponent;

Available Mappings

  • 🌎 World, Countries
  • 🇦🇺 Australia, States and Territories
  • 🇦🇷 Argentina, Provinces
  • 🇧🇷 Brazil, States
  • 🇨🇦 Canada, Provinces and Territories
  • 🇨🇴 Colombia, Departments
  • 🇫🇷 France, Regions
  • 🇩🇪 Germany, States
  • 🇮🇹 Italy, Regions
  • 🇯🇵 Japan, Prefectures
  • 🇷🇺 Russia, Federal Subjects
  • 🇰🇷 South Korea, Provinces
  • 🇪🇸 Spain, Provinces
  • 🇺🇦 Ukraine, Oblasts
  • 🇺🇸 US, States

Readme

Keywords

Package Sidebar

Install

npm i @geobuff/flags

Weekly Downloads

335

Version

1.31.0

License

MIT

Unpacked Size

61.7 kB

Total Files

5

Last publish

Collaborators

  • geobuff