mantine-flagpack

4x3 flags as React components, built of top of flagpack, tree shakable

Installation

Install package:

yarn add mantine-flagpack

Then import styles at the root of your application:

import 'mantine-flagpack/styles.css';

Usage

All flags images are based on flagpack. Unlike react-flagpack package mantine-flagpack provides tree shakable cjs and ems bundles (unused flags will not be included in the bundle). Add components exported from the package also support Mantine style props. Some flag components have huge size (up to 20kb) and it is not recommended to import all flags in your application – import only flags that you need:

// Bad – you will have huge bundle size
import * as Flags from 'mantine-flagpack';

// Good – unused flags are removed from the production bundle
import { ESFlag, RUFlag } from 'mantine-flagpack';
import { ESFlag } from 'mantine-flagpack';

function Demo() {
  return <ESFlag w={100} radius="md" />;
}

All flags

ADFlag

Andorra

AEFlag

United Arab Emirates

AFFlag

Afghanistan

AGFlag

Antigua And Barbuda

AIFlag

Anguilla

ALFlag

Albania

AMFlag

Armenia

AOFlag

Angola

AQFlag

Antarctica

ARFlag

Argentina

ASFlag

American Samoa

ATFlag

Austria

AUFlag

Australia

AWFlag

Aruba

AXFlag

Åland Islands

AZFlag

Azerbaijan

BAFlag

Bosnia & Herzegovina

BBFlag

Barbados

BDFlag

Bangladesh

BEFlag

Belgium

BFFlag

Burkina Faso

BGFlag

Bulgaria

BHFlag

Bahrain

BIFlag

Burundi

BJFlag

Benin

BLFlag

Saint Barthélemy

BMFlag

Bermuda

BNFlag

Brunei Darussalam

BOFlag

Bolivia, Plurinational State Of

BRFlag

Brazil

BSFlag

Bahamas

BTFlag

Bhutan

BVFlag

Bouvet Island

BWFlag

Botswana

BYFlag

Belarus

BZFlag

Belize

CAFlag

Canada

CCFlag

Cocos (Keeling) Islands

CDFlag

Democratic Republic Of Congo

CFFlag

Central African Republic

CGFlag

Republic Of Congo

CHFlag

Switzerland

CIFlag

Côte d'Ivoire

CKFlag

Cook Islands

CLFlag

Chile

CMFlag

Cameroon

CNFlag

China

COFlag

Colombia

CRFlag

Costa Rica

CUFlag

Cuba

CVFlag

Cabo Verde

CWFlag

Curacao

CXFlag

Christmas Island

CYFlag

Cyprus

CZFlag

Czech Republic

DEFlag

Germany

DJFlag

Djibouti

DKFlag

Denmark

DMFlag

Dominica

DOFlag

Dominican Republic

DZFlag

Algeria

ECFlag

Ecuador

EEFlag

Estonia

EGFlag

Egypt

EHFlag

Western Sahara

ERFlag

Eritrea

ESFlag

Spain

ETFlag

Ethiopia

FIFlag

Finland

FJFlag

Fiji

FKFlag

Falkland Islands

FMFlag

Micronesia, Federated States Of

FOFlag

Faroe Islands

FRFlag

France

GAFlag

Gabon

GBFlag

United Kingdom

GDFlag

Grenada

GEFlag

Georgia

GFFlag

French Guiana

GGFlag

Guernsey

GHFlag

Ghana

GIFlag

Gibraltar

GLFlag

Greenland

GMFlag

Gambia

GNFlag

Guinea

GPFlag

Guadeloupe

GQFlag

Equatorial Guinea

GRFlag

Greece

GSFlag

South Georgia And The South Sandwich Islands

GTFlag

Guatemala

GUFlag

Guam

GWFlag

Guinea-bissau

GYFlag

Guyana

HKFlag

Hong Kong

HMFlag

Heard Island And McDonald Islands

HNFlag

Honduras

HRFlag

Croatia

HTFlag

Haiti

HUFlag

Hungary

IDFlag

Indonesia

IEFlag

Ireland

ILFlag

Israel

IMFlag

Isle Of Man

INFlag

India

IOFlag

British Indian Ocean Territory

IQFlag

Iraq

IRFlag

Iran, Islamic Republic Of

ISFlag

Iceland

ITFlag

Italy

JEFlag

Jersey

JMFlag

Jamaica

JOFlag

Jordan

JPFlag

Japan

KGFlag

Kyrgyzstan

KHFlag

Cambodia

KIFlag

Kiribati

KMFlag

Comoros

KNFlag

Saint Kitts And Nevis

KPFlag

Korea, Democratic People's Republic Of

KRFlag

Korea, Republic Of

KWFlag

Kuwait

KYFlag

Cayman Islands

KZFlag

Kazakhstan

LAFlag

Lao People's Democratic Republic

LBFlag

Lebanon

LCFlag

Saint Lucia

LIFlag

Liechtenstein

LKFlag

Sri Lanka

LRFlag

Liberia

LSFlag

Lesotho

LTFlag

Lithuania

LUFlag

Luxembourg

LVFlag

Latvia

LYFlag

Libya

MAFlag

Morocco

MCFlag

Monaco

MDFlag

Moldova

MEFlag

Montenegro

MFFlag

Saint Martin

MGFlag

Madagascar

MHFlag

Marshall Islands

MKFlag

Macedonia, The Former Yugoslav Republic Of

MLFlag

Mali

MMFlag

Myanmar

MNFlag

Mongolia

MOFlag

Macao

MPFlag

Northern Mariana Islands

MQFlag

Martinique

MRFlag

Mauritania

MSFlag

Montserrat

MUFlag

Mauritius

MVFlag

Maldives

MWFlag

Malawi

MXFlag

Mexico

MYFlag

Malaysia

MZFlag

Mozambique

NAFlag

Namibia

NCFlag

New Caledonia

NEFlag

Niger

NFFlag

Norfolk Island

NGFlag

Nigeria

NIFlag

Nicaragua

NLFlag

Netherlands

NOFlag

Norway

NPFlag

Nepal

NRFlag

Nauru

NUFlag

Niue

NZFlag

New Zealand

OMFlag

Oman

PAFlag

Panama

PEFlag

Peru

PFFlag

French Polynesia

PGFlag

Papua New Guinea

PHFlag

Philippines

PKFlag

Pakistan

PLFlag

Poland

PMFlag

Saint Pierre And Miquelon

PNFlag

Pitcairn

PRFlag

Puerto Rico

PSFlag

Palestinian Territory, Occupied

PTFlag

Portugal

PWFlag

Palau

PYFlag

Paraguay

QAFlag

Qatar

REFlag

Reunion

ROFlag

Romania

RSFlag

Serbia

RUFlag

Russian Federation

RWFlag

Rwanda

SAFlag

Saudi Arabia

SBFlag

Solomon Islands

SCFlag

Seychelles

SDFlag

Sudan

SEFlag

Sweden

SGFlag

Singapore

SHFlag

Saint Helena, Ascension And Tristan Da Cunha

SIFlag

Slovenia

SJFlag

Svalbard And Jan Mayen

SKFlag

Slovakia

SLFlag

Sierra Leone

SMFlag

San Marino

SNFlag

Senegal

SOFlag

Somalia

SRFlag

Suriname

SSFlag

South Sudan

STFlag

Sao Tome and Principe

SVFlag

El Salvador

SXFlag

Sint Maarten

SYFlag

Syrian Arab Republic

SZFlag

Swaziland

TCFlag

Turks And Caicos Islands

TDFlag

Chad

TFFlag

French Southern Territories

TGFlag

Togo

THFlag

Thailand

TJFlag

Tajikistan

TKFlag

Tokelau

TLFlag

Timor-Leste, Democratic Republic of

TMFlag

Turkmenistan

TNFlag

Tunisia

TOFlag

Tonga

TRFlag

Turkey

TTFlag

Trinidad And Tobago

TVFlag

Tuvalu

TWFlag

Taiwan

TZFlag

Tanzania, United Republic Of

UAFlag

Ukraine

UGFlag

Uganda

UMFlag

United States Minor Outlying Islands

USFlag

United States

UYFlag

Uruguay

UZFlag

Uzbekistan

VAFlag

Vatican City State

VCFlag

Saint Vincent And The Grenadines

VEFlag

Venezuela, Bolivarian Republic Of

VGFlag

Virgin Islands (British)

VIFlag

Virgin Islands (US)

VNFlag

Viet Nam

VUFlag

Vanuatu

WFFlag

Wallis And Futuna

WSFlag

Samoa

XKFlag

Kosovo

YEFlag

Yemen

ZAFlag

South Africa

ZMFlag

Zambia

ZWFlag

Zimbabwe