Flags

Thanks to the Tabler flags plugin, you can create flags to visually represent countries or languages. Flags are often used in forms, as an element of a delivery address, phone number dialling code and many more.

Installation

This part of Tabler is distributed as a plugin. To enable it you should include tabler-flags.css or tabler-flags.min.css file to your page.

You can also include plugin via CDN:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/core@1.0.0-beta17/dist/css/tabler-flags.min.css">

Flag

To create a flag, add the flag class to a component and choose the country whose flag you want to use. The full list of countries can be found below.

<span class="flag flag-country-tg"></span>
<span class="flag flag-country-br"></span>
<span class="flag flag-country-pt"></span>

Flag sizes

Using Bootstrap’s typical naming structure, you can create a standard flag, or scale it up or down to different sizes based on what’s needed.

<span class="flag flag-xl ..."></span>
<span class="flag flag-lg ..."></span>
<span class="flag flag-md ..."></span>
<span class="flag flag-sm ..."></span>
<span class="flag flag-xs ..."></span>

Types

To use the flag of a particular country, add the flag-country-(country name) class. For example, to create a flag of Andorra should use the following class: .flag-country-ad.

AndorraAndorraad.flag-country-ad
United Arab EmiratesUnited Arab Emiratesae.flag-country-ae
AfghanistanAfghanistanaf.flag-country-af
AntiguaAntiguaag.flag-country-ag
AnguillaAnguillaai.flag-country-ai
ArmeniaArmeniaam.flag-country-am
AngolanAngolanao.flag-country-ao
AntarcticaAntarcticaaq.flag-country-aq
ArgentinaArgentinaar.flag-country-ar
American SamoaAmerican Samoaas.flag-country-as
AustriaAustriaat.flag-country-at
AustraliaAustraliaau.flag-country-au
ArubaArubaaw.flag-country-aw
Aslan IslandsAslan Islandsax.flag-country-ax
AzerbaijanAzerbaijanaz.flag-country-az
BosnianBosnianba.flag-country-ba
BarbadosBarbadosbb.flag-country-bb
BelgiumBelgiumbe.flag-country-be
Burkina FasoBurkina Fasobf.flag-country-bf
BulgariaBulgariabg.flag-country-bg
BahrainBahrainbh.flag-country-bh
BurundiBurundibi.flag-country-bi
BeninBeninbj.flag-country-bj
Saint-BarthélemySaint-Barthélemybl.flag-country-bl
BermudaBermudabm.flag-country-bm
BruneianBruneianbn.flag-country-bn
BoliviaBoliviabo.flag-country-bo
BonaireBonairebq.flag-country-bq
BrazilBrazilbr.flag-country-br
BahamasBahamasbs.flag-country-bs
BhutanBhutanbt.flag-country-bt
Bouvet IslandBouvet Islandbv.flag-country-bv
BatswanaBatswanabw.flag-country-bw
BelarusBelarusby.flag-country-by
BelizeBelizebz.flag-country-bz
CanadaCanadaca.flag-country-ca
Cocos IslandCocos Islandcc.flag-country-cc
Democratic Republic of CongoDemocratic Republic of Congocd.flag-country-cd
Central African RepublicCentral African Republiccf.flag-country-cf
Republic of the CongoRepublic of the Congocg.flag-country-cg
SwitzerlandSwitzerlandch.flag-country-ch
Ivory CoastIvory Coastci.flag-country-ci
Cook IslandCook Islandck.flag-country-ck
ChileChilecl.flag-country-cl
CameroonCamerooncm.flag-country-cm
ChinaChinacn.flag-country-cn
ColombiaColombiaco.flag-country-co
Costa RicaCosta Ricacr.flag-country-cr
CubaCubacu.flag-country-cu
Cape VerdeCape Verdecv.flag-country-cv
CuracaoCuracaocw.flag-country-cw
Christmas IslandChristmas Islandcx.flag-country-cx
CyprusCypruscy.flag-country-cy
Czech RepublicCzech Republiccz.flag-country-cz
GermanyGermanyde.flag-country-de
DjiboutiDjiboutidj.flag-country-dj
DenmarkDenmarkdk.flag-country-dk
DominicaDominicadm.flag-country-dm
Dominican RepublicDominican Republicdo.flag-country-do
AlgeriaAlgeriadz.flag-country-dz
EcuadorEcuadorec.flag-country-ec
EstoniaEstoniaee.flag-country-ee
EgyptEgypteg.flag-country-eg
SahrawiSahrawieh.flag-country-eh
EritreaEritreaer.flag-country-er
SpainSpaines.flag-country-es
CataloniaCataloniaes-ct.flag-country-es-ct
EthiopiaEthiopiaet.flag-country-et
European UnionEuropean Unioneu.flag-country-eu
FinlandFinlandfi.flag-country-fi
FijiFijifj.flag-country-fj
Falkland IslandsFalkland Islandsfk.flag-country-fk
Federate States of MicronesiaFederate States of Micronesiafm.flag-country-fm
Faroe IslandsFaroe Islandsfo.flag-country-fo
FranceFrancefr.flag-country-fr
GabonGabonga.flag-country-ga
Great BritainGreat Britaingb.flag-country-gb
EnglandEnglandgb-eng.flag-country-gb-eng
Nothern IrelandNothern Irelandgb-nir.flag-country-gb-nir
ScotlandScotlandgb-sct.flag-country-gb-sct
WalesWalesgb-wls.flag-country-gb-wls
GrenadaGrenadagd.flag-country-gd
GeorgiaGeorgiage.flag-country-ge
GuyanaGuyanagf.flag-country-gf
GuernseyGuernseygg.flag-country-gg
GhanaGhanagh.flag-country-gh
GibraltarGibraltargi.flag-country-gi
GreenlandGreenlandgl.flag-country-gl
GambiaGambiagm.flag-country-gm
GuineaGuineagn.flag-country-gn
GuadeloupeGuadeloupegp.flag-country-gp
Equatorial GuineaEquatorial Guineagq.flag-country-gq
GreeceGreecegr.flag-country-gr
South GeorgiaSouth Georgiags.flag-country-gs
GuatemalaGuatemalagt.flag-country-gt
GuamGuamgu.flag-country-gu
Guinea-BissauGuinea-Bissaugw.flag-country-gw
GuyanaGuyanagy.flag-country-gy
Hong KongHong Konghk.flag-country-hk
Heard and McDonald IslandsHeard and McDonald Islandshm.flag-country-hm
HondurasHondurashn.flag-country-hn
CroatiaCroatiahr.flag-country-hr
HaitiHaitiht.flag-country-ht
HungaryHungaryhu.flag-country-hu
IndonesiaIndonesiaid.flag-country-id
IrelandIrelandie.flag-country-ie
IsraelIsraelil.flag-country-il
Isle of ManIsle of Manim.flag-country-im
IndiaIndiain.flag-country-in
British Indian Ocean TerritoryBritish Indian Ocean Territoryio.flag-country-io
IraqIraqiq.flag-country-iq
IranIranir.flag-country-ir
IcelandIcelandis.flag-country-is
ItalyItalyit.flag-country-it
JerseyJerseyje.flag-country-je
JamaicaJamaicajm.flag-country-jm
JordanJordanjo.flag-country-jo
JapanJapanjp.flag-country-jp
KenyaKenyake.flag-country-ke
KyrgyzstanKyrgyzstankg.flag-country-kg
CambodiaCambodiakh.flag-country-kh
KiribatiKiribatiki.flag-country-ki
ComorosComoroskm.flag-country-km
Saint Kitts and NevisSaint Kitts and Neviskn.flag-country-kn
North KoreaNorth Koreakp.flag-country-kp
South KoreaSouth Koreakr.flag-country-kr
KuwaitKuwaitkw.flag-country-kw
Cayman IslandsCayman Islandsky.flag-country-ky
KazakhstanKazakhstankz.flag-country-kz
LaosLaosla.flag-country-la
LebaneseLebaneselb.flag-country-lb
Saint LuciaSaint Lucialc.flag-country-lc
LiechtensteinLiechtensteinli.flag-country-li
Sri LankaSri Lankalk.flag-country-lk
LiberiaLiberialr.flag-country-lr
LesothoLesothols.flag-country-ls
LithuaniaLithuanialt.flag-country-lt
LuxembourgLuxembourglu.flag-country-lu
LatviaLatvialv.flag-country-lv
LibyaLibyaly.flag-country-ly
MoroccoMoroccoma.flag-country-ma
MonacoMonacomc.flag-country-mc
MoldovaMoldovamd.flag-country-md
MontenegroMontenegrome.flag-country-me
Saint MartinSaint Martinmf.flag-country-mf
MadagascarMadagascarmg.flag-country-mg
Marshall IslandsMarshall Islandsmh.flag-country-mh
MacedoniaMacedoniamk.flag-country-mk
MaliMaliml.flag-country-ml
MyanmarMyanmarmm.flag-country-mm
MongoliaMongoliamn.flag-country-mn
MacaoMacaomo.flag-country-mo
Nothern Mariana IslandsNothern Mariana Islandsmp.flag-country-mp
MartiniqueMartiniquemq.flag-country-mq
MauritaniaMauritaniamr.flag-country-mr
MontserratMontserratms.flag-country-ms
MaltaMaltamt.flag-country-mt
MauritiusMauritiusmu.flag-country-mu
MaldivesMaldivesmv.flag-country-mv
MalawiMalawimw.flag-country-mw
MexicoMexicomx.flag-country-mx
MalaysiaMalaysiamy.flag-country-my
MozambiqueMozambiquemz.flag-country-mz
NamibiaNamibiana.flag-country-na
New CaledoniaNew Caledonianc.flag-country-nc
NigerNigerne.flag-country-ne
Norfolk IslandNorfolk Islandnf.flag-country-nf
NigeriaNigeriang.flag-country-ng
NicaraguaNicaraguani.flag-country-ni
NorwayNorwayno.flag-country-no
NepalNepalnp.flag-country-np
NauruanNauruannr.flag-country-nr
NigerNigernu.flag-country-nu
New ZealandNew Zealandnz.flag-country-nz
OmanOmanom.flag-country-om
PanamaPanamapa.flag-country-pa
PeruPerupe.flag-country-pe
French PolynesiaFrench Polynesiapf.flag-country-pf
Papua New GuineaPapua New Guineapg.flag-country-pg
PhilippinesPhilippinesph.flag-country-ph
PakistanPakistanpk.flag-country-pk
PolandPolandpl.flag-country-pl
Saint PierreSaint Pierrepm.flag-country-pm
Pitcairn IslandsPitcairn Islandspn.flag-country-pn
Puerto RicoPuerto Ricopr.flag-country-pr
PalestinePalestineps.flag-country-ps
PortugalPortugalpt.flag-country-pt
PalauPalaupw.flag-country-pw
ParaguayParaguaypy.flag-country-py
QatarQatarqa.flag-country-qa
Reunion IslandReunion Islandre.flag-country-re
RomaniaRomaniaro.flag-country-ro
SerbiaSerbiars.flag-country-rs
RussiaRussiaru.flag-country-ru
RwandaRwandarw.flag-country-rw
Saudi ArabiaSaudi Arabiasa.flag-country-sa
Solomon IslandsSolomon Islandssb.flag-country-sb
SeychellesSeychellessc.flag-country-sc
SudanSudansd.flag-country-sd
SwedenSwedense.flag-country-se
SingaporeSingaporesg.flag-country-sg
Saint HelenaSaint Helenash.flag-country-sh
SloveniaSloveniasi.flag-country-si
Svalbard IslandSvalbard Islandsj.flag-country-sj
SlovakiaSlovakiask.flag-country-sk
Sierra LeoneSierra Leonesl.flag-country-sl
San MarinoSan Marinosm.flag-country-sm
SenegalSenegalsn.flag-country-sn
SomaliaSomaliaso.flag-country-so
SurinameSurinamesr.flag-country-sr
South SudanSouth Sudanss.flag-country-ss
Sao TomeSao Tomest.flag-country-st
El SalvadorEl Salvadorsv.flag-country-sv
Sint MaartenSint Maartensx.flag-country-sx
SyriaSyriasy.flag-country-sy
SwazilandSwazilandsz.flag-country-sz
Turks and CaicosTurks and Caicostc.flag-country-tc
ChadChadtd.flag-country-td
French Southern and Antarctic LandsFrench Southern and Antarctic Landstf.flag-country-tf
TogoTogotg.flag-country-tg
ThailandThailandth.flag-country-th
TajikistanTajikistantj.flag-country-tj
TokelauTokelautk.flag-country-tk
Timor LesteTimor Lestetl.flag-country-tl
TurkmenistanTurkmenistantm.flag-country-tm
TunisiaTunisiatn.flag-country-tn
TongaTongato.flag-country-to
TurkeyTurkeytr.flag-country-tr
Trinidad and TobagoTrinidad and Tobagott.flag-country-tt
TuvaluTuvalutv.flag-country-tv
TanzaniaTanzaniatz.flag-country-tz
UkraineUkraineua.flag-country-ua
UgandaUgandaug.flag-country-ug
United States Minor IslandsUnited States Minor Islandsum.flag-country-um
United NationsUnited Nationsun.flag-country-un
United States of AmericaUnited States of Americaus.flag-country-us
UruguayUruguayuy.flag-country-uy
UzbekistanUzbekistanuz.flag-country-uz
Vatican CityVatican Cityva.flag-country-va
Saint VincentSaint Vincentvc.flag-country-vc
VenezuelaVenezuelave.flag-country-ve
British Virgin IslandsBritish Virgin Islandsvg.flag-country-vg
Virgiin IslandsVirgiin Islandsvi.flag-country-vi
VietnamVietnamvn.flag-country-vn
VanuatuVanuatuvu.flag-country-vu
Wallis and FutunaWallis and Futunawf.flag-country-wf
SamoaSamoaws.flag-country-ws
YemenYemenye.flag-country-ye
South AfricaSouth Africaza.flag-country-za
ZambiaZambiazm.flag-country-zm
ZimbabweZimbabwezw.flag-country-zw
Do you have a question? ask the community
Do you see a bug? open an issue on GitHub
Do you like Tabler? tweet about it!
Support Tabler's development: Github Sponsors
illustrations banner imageillustrations banner image dark
55 sleek illustrations for your startup's visual identity.