Flagpack (Flagpack v0.6.0)

View Source

Provides 4x3 country flags as Phoenix.Component. Based on flagpack.xyz.

Each component accepts an optional class attribute in order to be able to add extra classes to the component.

Usage

<Flagpack.usa />
<Flagpack.usa id="my-flag" />
<Flagpack.usa class="size-5" />

You may use the Flagpack.flag/1 function and pass a flag name.

<Flagpack.flag name={:usa} />
<Flagpack.flag name={:usa} id="my-flag" />
<Flagpack.flag name={:usa} class="size-5" />

Summary

Functions

Renders the Aruba flag.

Renders the Andorra flag.

Renders the Afghanistan flag.

Renders the Angola flag.

Renders the Anguilla flag.

Renders the Åland Islands flag.

Renders the Albania flag.

Renders the United Arab Emirates flag.

Renders the Argentina flag.

Renders the Armenia flag.

Renders the American Samoa flag.

Renders the Antarctica flag.

Renders the French Southern Territories flag.

Renders the Antigua and Barbuda flag.

Renders the Australia flag.

Renders the Austria flag.

Renders the Azerbaijan flag.

Renders the Burundi flag.

Renders the Belgium flag.

Renders the Benin flag.

Renders the Burkina Faso flag.

Renders the Bangladesh flag.

Renders the Bulgaria flag.

Renders the Bahrain flag.

Renders the Bahamas flag.

Renders the Bosnia and Herzegovina flag.

Renders the Saint Barthélemy flag.

Renders the Belarus flag.

Renders the Belize flag.

Renders the Bermuda flag.

Renders the Bolivia flag.

Renders the Bonaire flag.

Renders the Saba flag.

Renders the Sint Eustatius flag.

Renders the Brazil flag.

Renders the Barbados flag.

Renders the Brunei flag.

Renders the Bhutan flag.

Renders the Bouvet Island flag.

Renders the Botswana flag.

Renders the Central African Republic flag.

Renders the Canada flag.

Renders the Cocos Islands flag.

Renders the Switzerland flag.

Renders the Chile flag.

Renders the China flag.

Renders the Côte d'Ivoire flag.

Renders the Cameroon flag.

Renders the Democratis Republic of Congo flag.

Renders the Congo flag.

Renders the Cook Island flag.

Renders the Colombia flag.

Renders the Comoros flag.

Renders the Cape Verde flag.

Renders the Costa Rica flag.

Renders the Cuba flag.

Renders the Curaçao flag.

Renders the Cayman Islands flag.

Renders the Cyprus flag.

Renders the Czech Republic flag.

Renders the Germany flag.

Renders the Djibouti flag.

Renders the Dominica flag.

Renders the Denmark flag.

Renders the Dominican Republic flag.

Renders the Ecuador flag.

Renders the Egypt flag.

Renders the Eritrea flag.

Renders the Western Sahara flag.

Renders the Spain flag.

Renders the Estonia flag.

Renders the Ethiopia flag.

Renders the Finland flag.

Renders the Fiji flag.

Renders a flag by the given name.

Renders the Falkland Islands flag.

Renders the France flag.

Renders the Faroe Island flag.

Renders the Micronesia (Federated States of) flag.

Renders the Gabon flag.

Renders the England flag.

Renders the Northern Ireland flag.

Renders the Scotland flag.

Renders the United Kingdom flag.

Renders the Wales flag.

Renders the United Kingdom flag.

Renders the Georgia flag.

Renders the Guernsey flag.

Renders the Ghana flag.

Renders the Gibraltar flag.

Renders the Guinea flag.

Renders the Guadeloupe flag.

Renders the Gambia flag.

Renders the Guinea-Bissau flag.

Renders the Equatorial Guinea flag.

Renders the Greece flag.

Renders the Grenada flag.

Renders the Greenland flag.

Renders the Guatemala flag.

Renders the French Guiana flag.

Renders the Guam flag.

Renders the Guyana flag.

Renders the Hong Kong flag.

Renders the Heard Island and McDonald Islands flag.

Renders the Honduras flag.

Renders the Croatia flag.

Renders the Haiti flag.

Renders the Hungary flag.

Renders the Indonesia flag.

Renders the Isle of Man flag.

Renders the India flag.

Renders the British Indian Ocean Territory flag.

Renders the Ireland flag.

Renders the Iran flag.

Renders the Iraq flag.

Renders the Iceland flag.

Renders the Israel flag.

Renders the Italy flag.

Renders the Jamaica flag.

Renders the Jersey flag.

Renders the Jordan flag.

Renders the Japan flag.

Renders the Kazakhstan flag.

Renders the Kenya flag.

Renders the Kyrgyzstan flag.

Renders the Cambodia flag.

Renders the Kiribati flag.

Renders the Saint Kitts and Nevis flag.

Renders the Korea (the Republic of) flag.

Renders the Kuwait flag.

Renders the Lao People's Democratic Republic (the) flag.

Renders the Lebanon flag.

Renders the Liberia flag.

Renders the Libya flag.

Renders the Saint Lucia flag.

Renders the Liechtenstein flag.

Renders the Sri Lanka flag.

Renders the Lesotho flag.

Renders the Lithuania flag.

Renders the Luxembourg flag.

Renders the Latvia flag.

Renders the Macao flag.

Renders the Saint Martin flag.

Renders the Morocco flag.

Renders the Monaco flag.

Renders the Moldova (the Republic of) flag.

Renders the Madagascar flag.

Renders the Maldives flag.

Renders the Mexico flag.

Renders the Marshall Islands (the) flag.

Renders the North Macedonia flag.

Renders the Mali flag.

Renders the Malta flag.

Renders the Montenegro flag.

Renders the Mongolia flag.

Renders the Northern Mariana Islands (the) flag.

Renders the Mozambique flag.

Renders the Mauritania flag.

Renders the Montserrat flag.

Renders the Martinique flag.

Renders the Mauritius flag.

Renders the Malawi flag.

Renders the Malaysia flag.

Renders the Namibia flag.

Renders the New Caledonia flag.

Renders the Niger flag.

Renders the Norfolk Island flag.

Renders the Nigeria flag.

Renders the Nicaragua flag.

Renders the Niue flag.

Renders the Netherlands flag.

Renders the Norway flag.

Renders the Nepal flag.

Renders the Nauru flag.

Renders the New Zealand flag.

Renders the Oman flag.

Renders the Pakistan flag.

Renders the Panama flag.

Renders the Pitcairn flag.

Renders the Peru flag.

Renders the Philippines (the) flag.

Renders the Palau flag.

Renders the Papua New Guinea flag.

Renders the Poland flag.

Renders the Puerto Rico flag.

Renders the Korea (the Democratic People's Republic of) flag.

Renders the Portugal flag.

Renders the Paraguay flag.

Renders the Palestine, State of flag.

Renders the French Polyesia flag.

Renders the Qatar flag.

Renders the Réunion flag.

Renders the Romania flag.

Renders the Russian Federation (the) flag.

Renders the Rwanda flag.

Renders the Saudi Arabia flag.

Renders the Sudan (the) flag.

Renders the Senegal flag.

Renders the Singapore flag.

Renders the South Georgia and the South Sandwich Islands flag.

Renders the Saint Helena, Ascension Island, Traistan da Cunha flag.

Renders the Svalbard, Jan Mayen flag.

Renders the Solomon Islands flag.

Renders the Sierra Leone flag.

Renders the El Salvador flag.

Renders the San Marino flag.

Renders the Somalia flag.

Renders the Saint Pierre and Miquelon flag.

Renders the Serbia flag.

Renders the South Sudan flag.

Renders the Sao Tome and Principe flag.

Renders the Suriname flag.

Renders the Slovakia flag.

Renders the Slovenia flag.

Renders the Sweden flag.

Renders the Eswatini flag.

Renders the Sint Maarten flag.

Renders the Seychelles flag.

Renders the Syrian Arab Republic (the) flag.

Renders the Turks and Caicos Islands (the) flag.

Renders the Chad flag.

Renders the Togo flag.

Renders the Thailand flag.

Renders the Tajikistan flag.

Renders the Turkmenistan flag.

Renders the Timor-Leste flag.

Renders the Tonga flag.

Renders the Trinidad and Tobago flag.

Renders the Tunisia flag.

Renders the Turkey flag.

Renders the Tuvalu flag.

Renders the Taiwan flag.

Renders the Tanzania, the United Republic of flag.

Renders the Uganda flag.

Renders the Ukraine flag.

Renders the United States Minor Outlying Islands (the) flag.

Renders the Uruguay flag.

Renders the United States of America flag.

Renders the Uzbekistan flag.

Renders the Holy See flag.

Renders the Saint Vincent and the Grenadines flag.

Renders the Venezuela (Bolivarian Republic of) flag.

Renders the Virgin Islands (British) flag.

Renders the Virgin Islands (U.S.) flag.

Renders the Vietnam flag.

Renders the Vanuatu flag.

Renders the Wallis and Futuna flag.

Renders the Samoa flag.

Renders the Yemen flag.

Renders the South Africa flag.

Renders the Zambia flag.

Renders the Zimbabwe flag.

Functions

abw(assigns)

Renders the Aruba flag.

Examples

<Flagpack.abw />
<Flagpack.abw id="my-flag" />
<Flagpack.abw class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ad(assigns)

Renders the Andorra flag.

Examples

<Flagpack.ad />
<Flagpack.ad id="my-flag" />
<Flagpack.ad class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

afg(assigns)

Renders the Afghanistan flag.

Examples

<Flagpack.afg />
<Flagpack.afg id="my-flag" />
<Flagpack.afg class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ago(assigns)

Renders the Angola flag.

Examples

<Flagpack.ago />
<Flagpack.ago id="my-flag" />
<Flagpack.ago class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

aia(assigns)

Renders the Anguilla flag.

Examples

<Flagpack.aia />
<Flagpack.aia id="my-flag" />
<Flagpack.aia class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ala(assigns)

Renders the Åland Islands flag.

Examples

<Flagpack.ala />
<Flagpack.ala id="my-flag" />
<Flagpack.ala class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

alb(assigns)

Renders the Albania flag.

Examples

<Flagpack.alb />
<Flagpack.alb id="my-flag" />
<Flagpack.alb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

are(assigns)

Renders the United Arab Emirates flag.

Examples

<Flagpack.are />
<Flagpack.are id="my-flag" />
<Flagpack.are class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

arg(assigns)

Renders the Argentina flag.

Examples

<Flagpack.arg />
<Flagpack.arg id="my-flag" />
<Flagpack.arg class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

arm(assigns)

Renders the Armenia flag.

Examples

<Flagpack.arm />
<Flagpack.arm id="my-flag" />
<Flagpack.arm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

asm(assigns)

Renders the American Samoa flag.

Examples

<Flagpack.asm />
<Flagpack.asm id="my-flag" />
<Flagpack.asm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ata(assigns)

Renders the Antarctica flag.

Examples

<Flagpack.ata />
<Flagpack.ata id="my-flag" />
<Flagpack.ata class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

atf(assigns)

Renders the French Southern Territories flag.

Examples

<Flagpack.atf />
<Flagpack.atf id="my-flag" />
<Flagpack.atf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

atg(assigns)

Renders the Antigua and Barbuda flag.

Examples

<Flagpack.atg />
<Flagpack.atg id="my-flag" />
<Flagpack.atg class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

aus(assigns)

Renders the Australia flag.

Examples

<Flagpack.aus />
<Flagpack.aus id="my-flag" />
<Flagpack.aus class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

aut(assigns)

Renders the Austria flag.

Examples

<Flagpack.aut />
<Flagpack.aut id="my-flag" />
<Flagpack.aut class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

aze(assigns)

Renders the Azerbaijan flag.

Examples

<Flagpack.aze />
<Flagpack.aze id="my-flag" />
<Flagpack.aze class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bdi(assigns)

Renders the Burundi flag.

Examples

<Flagpack.bdi />
<Flagpack.bdi id="my-flag" />
<Flagpack.bdi class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bel(assigns)

Renders the Belgium flag.

Examples

<Flagpack.bel />
<Flagpack.bel id="my-flag" />
<Flagpack.bel class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ben(assigns)

Renders the Benin flag.

Examples

<Flagpack.ben />
<Flagpack.ben id="my-flag" />
<Flagpack.ben class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bfa(assigns)

Renders the Burkina Faso flag.

Examples

<Flagpack.bfa />
<Flagpack.bfa id="my-flag" />
<Flagpack.bfa class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bgd(assigns)

Renders the Bangladesh flag.

Examples

<Flagpack.bgd />
<Flagpack.bgd id="my-flag" />
<Flagpack.bgd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bgr(assigns)

Renders the Bulgaria flag.

Examples

<Flagpack.bgr />
<Flagpack.bgr id="my-flag" />
<Flagpack.bgr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bhr(assigns)

Renders the Bahrain flag.

Examples

<Flagpack.bhr />
<Flagpack.bhr id="my-flag" />
<Flagpack.bhr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bhs(assigns)

Renders the Bahamas flag.

Examples

<Flagpack.bhs />
<Flagpack.bhs id="my-flag" />
<Flagpack.bhs class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bih(assigns)

Renders the Bosnia and Herzegovina flag.

Examples

<Flagpack.bih />
<Flagpack.bih id="my-flag" />
<Flagpack.bih class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

blm(assigns)

Renders the Saint Barthélemy flag.

Examples

<Flagpack.blm />
<Flagpack.blm id="my-flag" />
<Flagpack.blm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

blr(assigns)

Renders the Belarus flag.

Examples

<Flagpack.blr />
<Flagpack.blr id="my-flag" />
<Flagpack.blr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

blz(assigns)

Renders the Belize flag.

Examples

<Flagpack.blz />
<Flagpack.blz id="my-flag" />
<Flagpack.blz class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bmu(assigns)

Renders the Bermuda flag.

Examples

<Flagpack.bmu />
<Flagpack.bmu id="my-flag" />
<Flagpack.bmu class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bol(assigns)

Renders the Bolivia flag.

Examples

<Flagpack.bol />
<Flagpack.bol id="my-flag" />
<Flagpack.bol class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bq_bo(assigns)

Renders the Bonaire flag.

Examples

<Flagpack.bq_bo />
<Flagpack.bq_bo id="my-flag" />
<Flagpack.bq_bo class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bq_sa(assigns)

Renders the Saba flag.

Examples

<Flagpack.bq_sa />
<Flagpack.bq_sa id="my-flag" />
<Flagpack.bq_sa class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bq_se(assigns)

Renders the Sint Eustatius flag.

Examples

<Flagpack.bq_se />
<Flagpack.bq_se id="my-flag" />
<Flagpack.bq_se class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bra(assigns)

Renders the Brazil flag.

Examples

<Flagpack.bra />
<Flagpack.bra id="my-flag" />
<Flagpack.bra class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

brb(assigns)

Renders the Barbados flag.

Examples

<Flagpack.brb />
<Flagpack.brb id="my-flag" />
<Flagpack.brb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

brn(assigns)

Renders the Brunei flag.

Examples

<Flagpack.brn />
<Flagpack.brn id="my-flag" />
<Flagpack.brn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

btn(assigns)

Renders the Bhutan flag.

Examples

<Flagpack.btn />
<Flagpack.btn id="my-flag" />
<Flagpack.btn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bvt(assigns)

Renders the Bouvet Island flag.

Examples

<Flagpack.bvt />
<Flagpack.bvt id="my-flag" />
<Flagpack.bvt class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

bwa(assigns)

Renders the Botswana flag.

Examples

<Flagpack.bwa />
<Flagpack.bwa id="my-flag" />
<Flagpack.bwa class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

caf(assigns)

Renders the Central African Republic flag.

Examples

<Flagpack.caf />
<Flagpack.caf id="my-flag" />
<Flagpack.caf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

can(assigns)

Renders the Canada flag.

Examples

<Flagpack.can />
<Flagpack.can id="my-flag" />
<Flagpack.can class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cck(assigns)

Renders the Cocos Islands flag.

Examples

<Flagpack.cck />
<Flagpack.cck id="my-flag" />
<Flagpack.cck class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

che(assigns)

Renders the Switzerland flag.

Examples

<Flagpack.che />
<Flagpack.che id="my-flag" />
<Flagpack.che class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

chl(assigns)

Renders the Chile flag.

Examples

<Flagpack.chl />
<Flagpack.chl id="my-flag" />
<Flagpack.chl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

chn(assigns)

Renders the China flag.

Examples

<Flagpack.chn />
<Flagpack.chn id="my-flag" />
<Flagpack.chn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

civ(assigns)

Renders the Côte d'Ivoire flag.

Examples

<Flagpack.civ />
<Flagpack.civ id="my-flag" />
<Flagpack.civ class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cmr(assigns)

Renders the Cameroon flag.

Examples

<Flagpack.cmr />
<Flagpack.cmr id="my-flag" />
<Flagpack.cmr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cod(assigns)

Renders the Democratis Republic of Congo flag.

Examples

<Flagpack.cod />
<Flagpack.cod id="my-flag" />
<Flagpack.cod class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cog(assigns)

Renders the Congo flag.

Examples

<Flagpack.cog />
<Flagpack.cog id="my-flag" />
<Flagpack.cog class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cok(assigns)

Renders the Cook Island flag.

Examples

<Flagpack.cok />
<Flagpack.cok id="my-flag" />
<Flagpack.cok class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

col(assigns)

Renders the Colombia flag.

Examples

<Flagpack.col />
<Flagpack.col id="my-flag" />
<Flagpack.col class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

com(assigns)

Renders the Comoros flag.

Examples

<Flagpack.com />
<Flagpack.com id="my-flag" />
<Flagpack.com class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cpv(assigns)

Renders the Cape Verde flag.

Examples

<Flagpack.cpv />
<Flagpack.cpv id="my-flag" />
<Flagpack.cpv class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cri(assigns)

Renders the Costa Rica flag.

Examples

<Flagpack.cri />
<Flagpack.cri id="my-flag" />
<Flagpack.cri class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cub(assigns)

Renders the Cuba flag.

Examples

<Flagpack.cub />
<Flagpack.cub id="my-flag" />
<Flagpack.cub class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cuw(assigns)

Renders the Curaçao flag.

Examples

<Flagpack.cuw />
<Flagpack.cuw id="my-flag" />
<Flagpack.cuw class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cym(assigns)

Renders the Cayman Islands flag.

Examples

<Flagpack.cym />
<Flagpack.cym id="my-flag" />
<Flagpack.cym class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cyp(assigns)

Renders the Cyprus flag.

Examples

<Flagpack.cyp />
<Flagpack.cyp id="my-flag" />
<Flagpack.cyp class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

cze(assigns)

Renders the Czech Republic flag.

Examples

<Flagpack.cze />
<Flagpack.cze id="my-flag" />
<Flagpack.cze class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

deu(assigns)

Renders the Germany flag.

Examples

<Flagpack.deu />
<Flagpack.deu id="my-flag" />
<Flagpack.deu class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

dji(assigns)

Renders the Djibouti flag.

Examples

<Flagpack.dji />
<Flagpack.dji id="my-flag" />
<Flagpack.dji class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

dma(assigns)

Renders the Dominica flag.

Examples

<Flagpack.dma />
<Flagpack.dma id="my-flag" />
<Flagpack.dma class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

dnk(assigns)

Renders the Denmark flag.

Examples

<Flagpack.dnk />
<Flagpack.dnk id="my-flag" />
<Flagpack.dnk class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

dom(assigns)

Renders the Dominican Republic flag.

Examples

<Flagpack.dom />
<Flagpack.dom id="my-flag" />
<Flagpack.dom class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ecu(assigns)

Renders the Ecuador flag.

Examples

<Flagpack.ecu />
<Flagpack.ecu id="my-flag" />
<Flagpack.ecu class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

egy(assigns)

Renders the Egypt flag.

Examples

<Flagpack.egy />
<Flagpack.egy id="my-flag" />
<Flagpack.egy class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

eri(assigns)

Renders the Eritrea flag.

Examples

<Flagpack.eri />
<Flagpack.eri id="my-flag" />
<Flagpack.eri class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

esh(assigns)

Renders the Western Sahara flag.

Examples

<Flagpack.esh />
<Flagpack.esh id="my-flag" />
<Flagpack.esh class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

esp(assigns)

Renders the Spain flag.

Examples

<Flagpack.esp />
<Flagpack.esp id="my-flag" />
<Flagpack.esp class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

est(assigns)

Renders the Estonia flag.

Examples

<Flagpack.est />
<Flagpack.est id="my-flag" />
<Flagpack.est class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

eth(assigns)

Renders the Ethiopia flag.

Examples

<Flagpack.eth />
<Flagpack.eth id="my-flag" />
<Flagpack.eth class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

fin(assigns)

Renders the Finland flag.

Examples

<Flagpack.fin />
<Flagpack.fin id="my-flag" />
<Flagpack.fin class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

fji(assigns)

Renders the Fiji flag.

Examples

<Flagpack.fji />
<Flagpack.fji id="my-flag" />
<Flagpack.fji class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

flag(assigns)

Renders a flag by the given name.

Examples

<Flagpack.flag name={:usa} />
<Flagpack.flag name={:usa} id="my-flag" />
<Flagpack.flag name={:usa} class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.
  • name (:atom) (required) - The name of the flag to be rendered.

flk(assigns)

Renders the Falkland Islands flag.

Examples

<Flagpack.flk />
<Flagpack.flk id="my-flag" />
<Flagpack.flk class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

fra(assigns)

Renders the France flag.

Examples

<Flagpack.fra />
<Flagpack.fra id="my-flag" />
<Flagpack.fra class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

fro(assigns)

Renders the Faroe Island flag.

Examples

<Flagpack.fro />
<Flagpack.fro id="my-flag" />
<Flagpack.fro class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

fsm(assigns)

Renders the Micronesia (Federated States of) flag.

Examples

<Flagpack.fsm />
<Flagpack.fsm id="my-flag" />
<Flagpack.fsm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gab(assigns)

Renders the Gabon flag.

Examples

<Flagpack.gab />
<Flagpack.gab id="my-flag" />
<Flagpack.gab class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gb_eng(assigns)

Renders the England flag.

Examples

<Flagpack.gb_eng />
<Flagpack.gb_eng id="my-flag" />
<Flagpack.gb_eng class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gb_nir(assigns)

Renders the Northern Ireland flag.

Examples

<Flagpack.gb_nir />
<Flagpack.gb_nir id="my-flag" />
<Flagpack.gb_nir class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gb_sct(assigns)

Renders the Scotland flag.

Examples

<Flagpack.gb_sct />
<Flagpack.gb_sct id="my-flag" />
<Flagpack.gb_sct class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gb_ukm(assigns)

Renders the United Kingdom flag.

Examples

<Flagpack.gb_ukm />
<Flagpack.gb_ukm id="my-flag" />
<Flagpack.gb_ukm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gb_wls(assigns)

Renders the Wales flag.

Examples

<Flagpack.gb_wls />
<Flagpack.gb_wls id="my-flag" />
<Flagpack.gb_wls class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gbr(assigns)

Renders the United Kingdom flag.

Examples

<Flagpack.gbr />
<Flagpack.gbr id="my-flag" />
<Flagpack.gbr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

geo(assigns)

Renders the Georgia flag.

Examples

<Flagpack.geo />
<Flagpack.geo id="my-flag" />
<Flagpack.geo class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ggy(assigns)

Renders the Guernsey flag.

Examples

<Flagpack.ggy />
<Flagpack.ggy id="my-flag" />
<Flagpack.ggy class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gha(assigns)

Renders the Ghana flag.

Examples

<Flagpack.gha />
<Flagpack.gha id="my-flag" />
<Flagpack.gha class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gib(assigns)

Renders the Gibraltar flag.

Examples

<Flagpack.gib />
<Flagpack.gib id="my-flag" />
<Flagpack.gib class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gin(assigns)

Renders the Guinea flag.

Examples

<Flagpack.gin />
<Flagpack.gin id="my-flag" />
<Flagpack.gin class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

glp(assigns)

Renders the Guadeloupe flag.

Examples

<Flagpack.glp />
<Flagpack.glp id="my-flag" />
<Flagpack.glp class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gmb(assigns)

Renders the Gambia flag.

Examples

<Flagpack.gmb />
<Flagpack.gmb id="my-flag" />
<Flagpack.gmb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gnb(assigns)

Renders the Guinea-Bissau flag.

Examples

<Flagpack.gnb />
<Flagpack.gnb id="my-flag" />
<Flagpack.gnb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gnq(assigns)

Renders the Equatorial Guinea flag.

Examples

<Flagpack.gnq />
<Flagpack.gnq id="my-flag" />
<Flagpack.gnq class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

grc(assigns)

Renders the Greece flag.

Examples

<Flagpack.grc />
<Flagpack.grc id="my-flag" />
<Flagpack.grc class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

grd(assigns)

Renders the Grenada flag.

Examples

<Flagpack.grd />
<Flagpack.grd id="my-flag" />
<Flagpack.grd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

grl(assigns)

Renders the Greenland flag.

Examples

<Flagpack.grl />
<Flagpack.grl id="my-flag" />
<Flagpack.grl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gtm(assigns)

Renders the Guatemala flag.

Examples

<Flagpack.gtm />
<Flagpack.gtm id="my-flag" />
<Flagpack.gtm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

guf(assigns)

Renders the French Guiana flag.

Examples

<Flagpack.guf />
<Flagpack.guf id="my-flag" />
<Flagpack.guf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

gum(assigns)

Renders the Guam flag.

Examples

<Flagpack.gum />
<Flagpack.gum id="my-flag" />
<Flagpack.gum class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

guy(assigns)

Renders the Guyana flag.

Examples

<Flagpack.guy />
<Flagpack.guy id="my-flag" />
<Flagpack.guy class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

hkg(assigns)

Renders the Hong Kong flag.

Examples

<Flagpack.hkg />
<Flagpack.hkg id="my-flag" />
<Flagpack.hkg class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

hmd(assigns)

Renders the Heard Island and McDonald Islands flag.

Examples

<Flagpack.hmd />
<Flagpack.hmd id="my-flag" />
<Flagpack.hmd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

hnd(assigns)

Renders the Honduras flag.

Examples

<Flagpack.hnd />
<Flagpack.hnd id="my-flag" />
<Flagpack.hnd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

hrv(assigns)

Renders the Croatia flag.

Examples

<Flagpack.hrv />
<Flagpack.hrv id="my-flag" />
<Flagpack.hrv class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

hti(assigns)

Renders the Haiti flag.

Examples

<Flagpack.hti />
<Flagpack.hti id="my-flag" />
<Flagpack.hti class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

hun(assigns)

Renders the Hungary flag.

Examples

<Flagpack.hun />
<Flagpack.hun id="my-flag" />
<Flagpack.hun class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

idn(assigns)

Renders the Indonesia flag.

Examples

<Flagpack.idn />
<Flagpack.idn id="my-flag" />
<Flagpack.idn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

imn(assigns)

Renders the Isle of Man flag.

Examples

<Flagpack.imn />
<Flagpack.imn id="my-flag" />
<Flagpack.imn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ind(assigns)

Renders the India flag.

Examples

<Flagpack.ind />
<Flagpack.ind id="my-flag" />
<Flagpack.ind class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

iot(assigns)

Renders the British Indian Ocean Territory flag.

Examples

<Flagpack.iot />
<Flagpack.iot id="my-flag" />
<Flagpack.iot class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

irl(assigns)

Renders the Ireland flag.

Examples

<Flagpack.irl />
<Flagpack.irl id="my-flag" />
<Flagpack.irl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

irn(assigns)

Renders the Iran flag.

Examples

<Flagpack.irn />
<Flagpack.irn id="my-flag" />
<Flagpack.irn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

irq(assigns)

Renders the Iraq flag.

Examples

<Flagpack.irq />
<Flagpack.irq id="my-flag" />
<Flagpack.irq class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

isl(assigns)

Renders the Iceland flag.

Examples

<Flagpack.isl />
<Flagpack.isl id="my-flag" />
<Flagpack.isl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

isr(assigns)

Renders the Israel flag.

Examples

<Flagpack.isr />
<Flagpack.isr id="my-flag" />
<Flagpack.isr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ita(assigns)

Renders the Italy flag.

Examples

<Flagpack.ita />
<Flagpack.ita id="my-flag" />
<Flagpack.ita class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

jam(assigns)

Renders the Jamaica flag.

Examples

<Flagpack.jam />
<Flagpack.jam id="my-flag" />
<Flagpack.jam class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

jey(assigns)

Renders the Jersey flag.

Examples

<Flagpack.jey />
<Flagpack.jey id="my-flag" />
<Flagpack.jey class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

jor(assigns)

Renders the Jordan flag.

Examples

<Flagpack.jor />
<Flagpack.jor id="my-flag" />
<Flagpack.jor class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

jpn(assigns)

Renders the Japan flag.

Examples

<Flagpack.jpn />
<Flagpack.jpn id="my-flag" />
<Flagpack.jpn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

kaz(assigns)

Renders the Kazakhstan flag.

Examples

<Flagpack.kaz />
<Flagpack.kaz id="my-flag" />
<Flagpack.kaz class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ken(assigns)

Renders the Kenya flag.

Examples

<Flagpack.ken />
<Flagpack.ken id="my-flag" />
<Flagpack.ken class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

kgz(assigns)

Renders the Kyrgyzstan flag.

Examples

<Flagpack.kgz />
<Flagpack.kgz id="my-flag" />
<Flagpack.kgz class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

khm(assigns)

Renders the Cambodia flag.

Examples

<Flagpack.khm />
<Flagpack.khm id="my-flag" />
<Flagpack.khm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

kir(assigns)

Renders the Kiribati flag.

Examples

<Flagpack.kir />
<Flagpack.kir id="my-flag" />
<Flagpack.kir class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

kna(assigns)

Renders the Saint Kitts and Nevis flag.

Examples

<Flagpack.kna />
<Flagpack.kna id="my-flag" />
<Flagpack.kna class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

kor(assigns)

Renders the Korea (the Republic of) flag.

Examples

<Flagpack.kor />
<Flagpack.kor id="my-flag" />
<Flagpack.kor class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

kwt(assigns)

Renders the Kuwait flag.

Examples

<Flagpack.kwt />
<Flagpack.kwt id="my-flag" />
<Flagpack.kwt class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lao(assigns)

Renders the Lao People's Democratic Republic (the) flag.

Examples

<Flagpack.lao />
<Flagpack.lao id="my-flag" />
<Flagpack.lao class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lbn(assigns)

Renders the Lebanon flag.

Examples

<Flagpack.lbn />
<Flagpack.lbn id="my-flag" />
<Flagpack.lbn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lbr(assigns)

Renders the Liberia flag.

Examples

<Flagpack.lbr />
<Flagpack.lbr id="my-flag" />
<Flagpack.lbr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lby(assigns)

Renders the Libya flag.

Examples

<Flagpack.lby />
<Flagpack.lby id="my-flag" />
<Flagpack.lby class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lca(assigns)

Renders the Saint Lucia flag.

Examples

<Flagpack.lca />
<Flagpack.lca id="my-flag" />
<Flagpack.lca class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lie(assigns)

Renders the Liechtenstein flag.

Examples

<Flagpack.lie />
<Flagpack.lie id="my-flag" />
<Flagpack.lie class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lka(assigns)

Renders the Sri Lanka flag.

Examples

<Flagpack.lka />
<Flagpack.lka id="my-flag" />
<Flagpack.lka class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lso(assigns)

Renders the Lesotho flag.

Examples

<Flagpack.lso />
<Flagpack.lso id="my-flag" />
<Flagpack.lso class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ltu(assigns)

Renders the Lithuania flag.

Examples

<Flagpack.ltu />
<Flagpack.ltu id="my-flag" />
<Flagpack.ltu class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lux(assigns)

Renders the Luxembourg flag.

Examples

<Flagpack.lux />
<Flagpack.lux id="my-flag" />
<Flagpack.lux class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

lva(assigns)

Renders the Latvia flag.

Examples

<Flagpack.lva />
<Flagpack.lva id="my-flag" />
<Flagpack.lva class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mac(assigns)

Renders the Macao flag.

Examples

<Flagpack.mac />
<Flagpack.mac id="my-flag" />
<Flagpack.mac class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

maf(assigns)

Renders the Saint Martin flag.

Examples

<Flagpack.maf />
<Flagpack.maf id="my-flag" />
<Flagpack.maf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mar(assigns)

Renders the Morocco flag.

Examples

<Flagpack.mar />
<Flagpack.mar id="my-flag" />
<Flagpack.mar class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mco(assigns)

Renders the Monaco flag.

Examples

<Flagpack.mco  />
<Flagpack.mco  id="my-flag" />
<Flagpack.mco  class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mda(assigns)

Renders the Moldova (the Republic of) flag.

Examples

<Flagpack.mda />
<Flagpack.mda id="my-flag" />
<Flagpack.mda class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mdg(assigns)

Renders the Madagascar flag.

Examples

<Flagpack.mdg />
<Flagpack.mdg id="my-flag" />
<Flagpack.mdg class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mdv(assigns)

Renders the Maldives flag.

Examples

<Flagpack.mdv />
<Flagpack.mdv id="my-flag" />
<Flagpack.mdv class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mex(assigns)

Renders the Mexico flag.

Examples

<Flagpack.mex />
<Flagpack.mex id="my-flag" />
<Flagpack.mex class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mhl(assigns)

Renders the Marshall Islands (the) flag.

Examples

<Flagpack.mhl />
<Flagpack.mhl id="my-flag" />
<Flagpack.mhl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mkd(assigns)

Renders the North Macedonia flag.

Examples

<Flagpack.mkd />
<Flagpack.mkd id="my-flag" />
<Flagpack.mkd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mli(assigns)

Renders the Mali flag.

Examples

<Flagpack.mli />
<Flagpack.mli id="my-flag" />
<Flagpack.mli class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mlt(assigns)

Renders the Malta flag.

Examples

<Flagpack.mlt />
<Flagpack.mlt id="my-flag" />
<Flagpack.mlt class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mne(assigns)

Renders the Montenegro flag.

Examples

<Flagpack.mne />
<Flagpack.mne id="my-flag" />
<Flagpack.mne class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mng(assigns)

Renders the Mongolia flag.

Examples

<Flagpack.mng />
<Flagpack.mng id="my-flag" />
<Flagpack.mng class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mnp(assigns)

Renders the Northern Mariana Islands (the) flag.

Examples

<Flagpack.mnp />
<Flagpack.mnp id="my-flag" />
<Flagpack.mnp class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

moz(assigns)

Renders the Mozambique flag.

Examples

<Flagpack.moz />
<Flagpack.moz id="my-flag" />
<Flagpack.moz class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mrt(assigns)

Renders the Mauritania flag.

Examples

<Flagpack.mrt />
<Flagpack.mrt id="my-flag" />
<Flagpack.mrt class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

msr(assigns)

Renders the Montserrat flag.

Examples

<Flagpack.msr />
<Flagpack.msr id="my-flag" />
<Flagpack.msr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mtq(assigns)

Renders the Martinique flag.

Examples

<Flagpack.mtq />
<Flagpack.mtq id="my-flag" />
<Flagpack.mtq class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mus(assigns)

Renders the Mauritius flag.

Examples

<Flagpack.mus />
<Flagpack.mus id="my-flag" />
<Flagpack.mus class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mwi(assigns)

Renders the Malawi flag.

Examples

<Flagpack.mwi />
<Flagpack.mwi id="my-flag" />
<Flagpack.mwi class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

mys(assigns)

Renders the Malaysia flag.

Examples

<Flagpack.mys />
<Flagpack.mys id="my-flag" />
<Flagpack.mys class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nam(assigns)

Renders the Namibia flag.

Examples

<Flagpack.nam />
<Flagpack.nam id="my-flag" />
<Flagpack.nam class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ncl(assigns)

Renders the New Caledonia flag.

Examples

<Flagpack.ncl />
<Flagpack.ncl id="my-flag" />
<Flagpack.ncl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ner(assigns)

Renders the Niger flag.

Examples

<Flagpack.ner />
<Flagpack.ner id="my-flag" />
<Flagpack.ner class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nfk(assigns)

Renders the Norfolk Island flag.

Examples

<Flagpack.nfk />
<Flagpack.nfk id="my-flag" />
<Flagpack.nfk class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nga(assigns)

Renders the Nigeria flag.

Examples

<Flagpack.nga />
<Flagpack.nga id="my-flag" />
<Flagpack.nga class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nic(assigns)

Renders the Nicaragua flag.

Examples

<Flagpack.nic />
<Flagpack.nic id="my-flag" />
<Flagpack.nic class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

niu(assigns)

Renders the Niue flag.

Examples

<Flagpack.niu />
<Flagpack.niu id="my-flag" />
<Flagpack.niu class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nld(assigns)

Renders the Netherlands flag.

Examples

<Flagpack.nld />
<Flagpack.nld id="my-flag" />
<Flagpack.nld class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nor(assigns)

Renders the Norway flag.

Examples

<Flagpack.nor />
<Flagpack.nor id="my-flag" />
<Flagpack.nor class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

npl(assigns)

Renders the Nepal flag.

Examples

<Flagpack.npl />
<Flagpack.npl id="my-flag" />
<Flagpack.npl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nru(assigns)

Renders the Nauru flag.

Examples

<Flagpack.nru />
<Flagpack.nru id="my-flag" />
<Flagpack.nru class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

nzl(assigns)

Renders the New Zealand flag.

Examples

<Flagpack.nzl />
<Flagpack.nzl id="my-flag" />
<Flagpack.nzl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

omn(assigns)

Renders the Oman flag.

Examples

<Flagpack.omn />
<Flagpack.omn id="my-flag" />
<Flagpack.omn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pak(assigns)

Renders the Pakistan flag.

Examples

<Flagpack.pak />
<Flagpack.pak id="my-flag" />
<Flagpack.pak class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pan(assigns)

Renders the Panama flag.

Examples

<Flagpack.pan />
<Flagpack.pan id="my-flag" />
<Flagpack.pan class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pcn(assigns)

Renders the Pitcairn flag.

Examples

<Flagpack.pcn />
<Flagpack.pcn id="my-flag" />
<Flagpack.pcn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

per(assigns)

Renders the Peru flag.

Examples

<Flagpack.per />
<Flagpack.per id="my-flag" />
<Flagpack.per class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

phl(assigns)

Renders the Philippines (the) flag.

Examples

<Flagpack.phl />
<Flagpack.phl id="my-flag" />
<Flagpack.phl class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

plw(assigns)

Renders the Palau flag.

Examples

<Flagpack.plw />
<Flagpack.plw id="my-flag" />
<Flagpack.plw class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

png(assigns)

Renders the Papua New Guinea flag.

Examples

<Flagpack.png />
<Flagpack.png id="my-flag" />
<Flagpack.png class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pol(assigns)

Renders the Poland flag.

Examples

<Flagpack.pol />
<Flagpack.pol id="my-flag" />
<Flagpack.pol class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pri(assigns)

Renders the Puerto Rico flag.

Examples

<Flagpack.pri />
<Flagpack.pri id="my-flag" />
<Flagpack.pri class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

prk(assigns)

Renders the Korea (the Democratic People's Republic of) flag.

Examples

<Flagpack.prk />
<Flagpack.prk id="my-flag" />
<Flagpack.prk class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

prt(assigns)

Renders the Portugal flag.

Examples

<Flagpack.prt />
<Flagpack.prt id="my-flag" />
<Flagpack.prt class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pry(assigns)

Renders the Paraguay flag.

Examples

<Flagpack.pry />
<Flagpack.pry id="my-flag" />
<Flagpack.pry class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pse(assigns)

Renders the Palestine, State of flag.

Examples

<Flagpack.pse />
<Flagpack.pse id="my-flag" />
<Flagpack.pse class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

pyf(assigns)

Renders the French Polyesia flag.

Examples

<Flagpack.pyf />
<Flagpack.pyf id="my-flag" />
<Flagpack.pyf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

qat(assigns)

Renders the Qatar flag.

Examples

<Flagpack.qat />
<Flagpack.qat id="my-flag" />
<Flagpack.qat class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

reu(assigns)

Renders the Réunion flag.

Examples

<Flagpack.reu />
<Flagpack.reu id="my-flag" />
<Flagpack.reu class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

rou(assigns)

Renders the Romania flag.

Examples

<Flagpack.rou />
<Flagpack.rou id="my-flag" />
<Flagpack.rou class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

rus(assigns)

Renders the Russian Federation (the) flag.

Examples

<Flagpack.rus />
<Flagpack.rus id="my-flag" />
<Flagpack.rus class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

rwa(assigns)

Renders the Rwanda flag.

Examples

<Flagpack.rwa />
<Flagpack.rwa id="my-flag" />
<Flagpack.rwa class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sau(assigns)

Renders the Saudi Arabia flag.

Examples

<Flagpack.sau />
<Flagpack.sau id="my-flag" />
<Flagpack.sau class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sdn(assigns)

Renders the Sudan (the) flag.

Examples

<Flagpack.sdn />
<Flagpack.sdn id="my-flag" />
<Flagpack.sdn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sen(assigns)

Renders the Senegal flag.

Examples

<Flagpack.sen />
<Flagpack.sen id="my-flag" />
<Flagpack.sen class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sgp(assigns)

Renders the Singapore flag.

Examples

<Flagpack.sgp />
<Flagpack.sgp id="my-flag" />
<Flagpack.sgp class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sgs(assigns)

Renders the South Georgia and the South Sandwich Islands flag.

Examples

<Flagpack.sgs />
<Flagpack.sgs id="my-flag" />
<Flagpack.sgs class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

shn(assigns)

Renders the Saint Helena, Ascension Island, Traistan da Cunha flag.

Examples

<Flagpack.shn />
<Flagpack.shn id="my-flag" />
<Flagpack.shn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sjm(assigns)

Renders the Svalbard, Jan Mayen flag.

Examples

<Flagpack.sjm />
<Flagpack.sjm id="my-flag" />
<Flagpack.sjm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

slb(assigns)

Renders the Solomon Islands flag.

Examples

<Flagpack.slb />
<Flagpack.slb id="my-flag" />
<Flagpack.slb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sle(assigns)

Renders the Sierra Leone flag.

Examples

<Flagpack.sle />
<Flagpack.sle id="my-flag" />
<Flagpack.sle class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

slv(assigns)

Renders the El Salvador flag.

Examples

<Flagpack.slv />
<Flagpack.slv id="my-flag" />
<Flagpack.slv class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

smr(assigns)

Renders the San Marino flag.

Examples

<Flagpack.smr />
<Flagpack.smr id="my-flag" />
<Flagpack.smr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

som(assigns)

Renders the Somalia flag.

Examples

<Flagpack.som />
<Flagpack.som id="my-flag" />
<Flagpack.som class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

spm(assigns)

Renders the Saint Pierre and Miquelon flag.

Examples

<Flagpack.spm />
<Flagpack.spm id="my-flag" />
<Flagpack.spm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

srb(assigns)

Renders the Serbia flag.

Examples

<Flagpack.srb />
<Flagpack.srb id="my-flag" />
<Flagpack.srb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ssd(assigns)

Renders the South Sudan flag.

Examples

<Flagpack.ssd />
<Flagpack.ssd id="my-flag" />
<Flagpack.ssd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

stp(assigns)

Renders the Sao Tome and Principe flag.

Examples

<Flagpack.stp />
<Flagpack.stp id="my-flag" />
<Flagpack.stp class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sur(assigns)

Renders the Suriname flag.

Examples

<Flagpack.sur />
<Flagpack.sur id="my-flag" />
<Flagpack.sur class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

svk(assigns)

Renders the Slovakia flag.

Examples

<Flagpack.svk />
<Flagpack.svk id="my-flag" />
<Flagpack.svk class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

svn(assigns)

Renders the Slovenia flag.

Examples

<Flagpack.svn />
<Flagpack.svn id="my-flag" />
<Flagpack.svn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

swe(assigns)

Renders the Sweden flag.

Examples

<Flagpack.swe />
<Flagpack.swe id="my-flag" />
<Flagpack.swe class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

swz(assigns)

Renders the Eswatini flag.

Examples

<Flagpack.swz />
<Flagpack.swz id="my-flag" />
<Flagpack.swz class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

sxm(assigns)

Renders the Sint Maarten flag.

Examples

<Flagpack.sxm />
<Flagpack.sxm id="my-flag" />
<Flagpack.sxm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

syc(assigns)

Renders the Seychelles flag.

Examples

<Flagpack.syc />
<Flagpack.syc id="my-flag" />
<Flagpack.syc class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

syr(assigns)

Renders the Syrian Arab Republic (the) flag.

Examples

<Flagpack.syr />
<Flagpack.syr id="my-flag" />
<Flagpack.syr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tca(assigns)

Renders the Turks and Caicos Islands (the) flag.

Examples

<Flagpack.tca />
<Flagpack.tca id="my-flag" />
<Flagpack.tca class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tcd(assigns)

Renders the Chad flag.

Examples

<Flagpack.tcd />
<Flagpack.tcd id="my-flag" />
<Flagpack.tcd class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tgo(assigns)

Renders the Togo flag.

Examples

<Flagpack.tgo />
<Flagpack.tgo id="my-flag" />
<Flagpack.tgo class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tha(assigns)

Renders the Thailand flag.

Examples

<Flagpack.tha />
<Flagpack.tha id="my-flag" />
<Flagpack.tha class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tjk(assigns)

Renders the Tajikistan flag.

Examples

<Flagpack.tjk />
<Flagpack.tjk id="my-flag" />
<Flagpack.tjk class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tkm(assigns)

Renders the Turkmenistan flag.

Examples

<Flagpack.tkm />
<Flagpack.tkm id="my-flag" />
<Flagpack.tkm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tls(assigns)

Renders the Timor-Leste flag.

Examples

<Flagpack.tls />
<Flagpack.tls id="my-flag" />
<Flagpack.tls class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ton(assigns)

Renders the Tonga flag.

Examples

<Flagpack.ton />
<Flagpack.ton id="my-flag" />
<Flagpack.ton class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tto(assigns)

Renders the Trinidad and Tobago flag.

Examples

<Flagpack.tto />
<Flagpack.tto id="my-flag" />
<Flagpack.tto class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tun(assigns)

Renders the Tunisia flag.

Examples

<Flagpack.tun />
<Flagpack.tun id="my-flag" />
<Flagpack.tun class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tur(assigns)

Renders the Turkey flag.

Examples

<Flagpack.tur />
<Flagpack.tur id="my-flag" />
<Flagpack.tur class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tuv(assigns)

Renders the Tuvalu flag.

Examples

<Flagpack.tuv />
<Flagpack.tuv id="my-flag" />
<Flagpack.tuv class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

twn(assigns)

Renders the Taiwan flag.

Examples

<Flagpack.twn />
<Flagpack.twn id="my-flag" />
<Flagpack.twn class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

tza(assigns)

Renders the Tanzania, the United Republic of flag.

Examples

<Flagpack.tza />
<Flagpack.tza id="my-flag" />
<Flagpack.tza class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

uga(assigns)

Renders the Uganda flag.

Examples

<Flagpack.uga />
<Flagpack.uga id="my-flag" />
<Flagpack.uga class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ukr(assigns)

Renders the Ukraine flag.

Examples

<Flagpack.ukr />
<Flagpack.ukr id="my-flag" />
<Flagpack.ukr class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

umi(assigns)

Renders the United States Minor Outlying Islands (the) flag.

Examples

<Flagpack.umi />
<Flagpack.umi id="my-flag" />
<Flagpack.umi class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ury(assigns)

Renders the Uruguay flag.

Examples

<Flagpack.ury />
<Flagpack.ury id="my-flag" />
<Flagpack.ury class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

usa(assigns)

Renders the United States of America flag.

Examples

<Flagpack.usa />
<Flagpack.usa id="my-flag" />
<Flagpack.usa class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

uzb(assigns)

Renders the Uzbekistan flag.

Examples

<Flagpack.uzb />
<Flagpack.uzb id="my-flag" />
<Flagpack.uzb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

vat(assigns)

Renders the Holy See flag.

Examples

<Flagpack.vat />
<Flagpack.vat id="my-flag" />
<Flagpack.vat class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

vct(assigns)

Renders the Saint Vincent and the Grenadines flag.

Examples

<Flagpack.vct />
<Flagpack.vct id="my-flag" />
<Flagpack.vct class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

ven(assigns)

Renders the Venezuela (Bolivarian Republic of) flag.

Examples

<Flagpack.ven />
<Flagpack.ven id="my-flag" />
<Flagpack.ven class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

vgb(assigns)

Renders the Virgin Islands (British) flag.

Examples

<Flagpack.vgb />
<Flagpack.vgb id="my-flag" />
<Flagpack.vgb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

vir(assigns)

Renders the Virgin Islands (U.S.) flag.

Examples

<Flagpack.vir />
<Flagpack.vir id="my-flag" />
<Flagpack.vir class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

vnm(assigns)

Renders the Vietnam flag.

Examples

<Flagpack.vnm />
<Flagpack.vnm id="my-flag" />
<Flagpack.vnm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

vut(assigns)

Renders the Vanuatu flag.

Examples

<Flagpack.vut />
<Flagpack.vut id="my-flag" />
<Flagpack.vut class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

wlf(assigns)

Renders the Wallis and Futuna flag.

Examples

<Flagpack.wlf />
<Flagpack.wlf id="my-flag" />
<Flagpack.wlf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

wsm(assigns)

Renders the Samoa flag.

Examples

<Flagpack.wsm />
<Flagpack.wsm id="my-flag" />
<Flagpack.wsm class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

yem(assigns)

Renders the Yemen flag.

Examples

<Flagpack.yem />
<Flagpack.yem id="my-flag" />
<Flagpack.yem class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

zaf(assigns)

Renders the South Africa flag.

Examples

<Flagpack.zaf />
<Flagpack.zaf id="my-flag" />
<Flagpack.zaf class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

zmb(assigns)

Renders the Zambia flag.

Examples

<Flagpack.zmb />
<Flagpack.zmb id="my-flag" />
<Flagpack.zmb class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.

zwe(assigns)

Renders the Zimbabwe flag.

Examples

<Flagpack.zwe />
<Flagpack.zwe id="my-flag" />
<Flagpack.zwe class="size-5" />

Attributes

  • id (:string) - The ID for the outer div element and suffix for internal SVG IDs. When not provided, a unique ID will be generated. Defaults to nil.
  • class (:string) - Additional CSS classes to apply to the outer div element. Defaults to nil.