@geobuff/flags
v1.31.0
Published
A collection of free-to-use flag URL's from wikimedia.org.
Downloads
685
Readme
geobuff/flags
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
- :earth_americas: 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: US, States