Hyvä Flags for Magento 2

Hyvä Flags Extension for Magento 2
Hyvä Compatible Themes Out-of-the-box
Mage-OS Compatible

Version 1.0.1

  • 2.4

Composer Installation Composer Installation?

Hyvä Flags Extension for Hyvä Themes

Use beautiful svg/vector flag icons and add them easily in your code or via backend.

Save Time By Having All Country & Language Flag Icons For Your Hyvä Theme Magento Store At Hand:

  • Perfect Quality Vector Icons
  • Easy To Add Via Code Or Backend
  • Includes Almost 1000 Free Flag Icons
  • Square Format (1:1 Ratio)
  • Rectangle Format (3:4 & 3:2 Ratio)
  • Circle Format
  • Official Sizes / Ratios

See All Highlights


Magento Marketplace Approved by
  • One-Time Payment
  • Lifetime Access To Source Code
  • 1 Year Free Support
  • 1 Year Free Updates

Approved & Verified by Magento Marketplace


Hyvä Theme


Unencrypted. 100% Open Source & Customizable


Coding Standards Applied. Clean & Readable Code


Countless Satisfied Customers: Be The Next One!


Made With Love

Our extensions are made with love & passion for building new things, perfection & performance in mind.


Field Tested

Our extensions are field-proven in our own client projects.


Country & Language Flag Icons For Your Hyvä Themes Magento 2 Store

Use beautiful svg/vector flag icons and add them easily in your code or via backend.
Includes almost 1000 free icons
Square (1:1 Ratio), Rectangle (3:4 Ratio) as well as Circle Icon Formats Included


SVG/vector icons are a great way to beautify any website, pixel-perfect, scalable and crystal clear images without the need to download each as a separate image.

So it is no surprise that literally every online store uses icons as UI (User Interface) elements or visual eye-catchers.
One typical use-case for SVG icons are language or store switcher UI elements. Hyvä Themes provides the Hero Icons, which are nice, but do not include language or country flags.

For your Magento 2 Hyvä Store you maybe want to use language or country flags for your store switcher?

Read on to learn more about how to do that:
Hyvä Flags - The free collection of almost 1000 carefully, consistent and beautifully designed language & country icons for your Hyvä Theme project...

Hyvä Flags

With the Hyvä Flags by JaJuMa extension you now have country and language flag icons, at hand for use in your Hyvä Themes Magento 2 store.
Comes with almost 1000 free icons to choose from, including square (1:1 ratio), rectangle (3:4 & 3:2 ratio) as well as circle & official icon formats.
Add all the icons you want, easily in your code, with auto-complete in your IDE or from the backend. Icons are rendered and added as inline svg`s, to keep the bespoke Hyvä performance and without having to add a performance-killing icon font or heavy .png to your site.

Prefer more fancy icons over the flat style icons used in this icon pack?
Check this nice alternative flags collection module for Hyvä Themes created by Siteation: Go To Siteation Hyvä Flags

Looking for more beautiful icons to use in your Hyvä Theme project besides flags?
Check our Awesome Hyvä extension for using Font Awesome 5 + 6 icons: Go To Awesome Hyvä Icon Pack


Hyvä Flags Extension for Hyvä Themes
by JaJuMa In Detail.
Beauty up your Hyvä Themes Store.
Save time by having all the country & language flag icons you need at hand.

Hyvä Flags - Country & Language Flag Icons Extension for Hyvä Themes

Country & Language Icon Pack & Toolkit To Beauty Up Your Hyvä Themes, the amazing new Magento 2 frontend.

Professionally designed and pixel-perfect icons meet outstanding performance.
A perfect match for best-in-class customer and developer experience.
Hyvä Flags Extension enables you to choose from almost 1000 free country and language flag icons right in your project.
No more time wasted on searching and creating svg/vector icons.
All the country and language flag icons you need for your Hyvä Theme store are now available right at your hand, with autocomplete in your IDE or for adding into CMS content via backend.

Hyvä Flags Demo & Icon List

Hyvä Flag Demo & Icon List

See and search the full list of all almost 1000 included icons on the demo site.

The demo also provides options to get the code for using the icons in your projects easily by copy & paste.

awesomeicons6/solid/arrow-right Go to Hyvä Flags Demo & Icon List

Scope & Features

The module includes:

  • Square (1:1) Flag Icons
  • Rectangle (4:3 & 3:2) Flag Icons
  • Circle Flag Icons
  • Official Size/Ratio Flag Icons

and provides 5 ViewModels

  • Flagicons11
  • Flagicons32
  • Flagicons43
  • FlagiconsCircle
  • FlagiconsOfficial

and allows adding country & language svg flag icons from Backend.

Using Country & Language Icons
In Hyvä Themes
with JaJuMa "Hyvä Flags" Module

How to use country & language icons in Hyvä Themes in view models

1. Install the module via composer as any other Magento extension from github.

2. Require one of the view models in your template:

/** @var \Jajuma\HyvaFlags\ViewModel\Flagicons11 $flagicons11 */
$flagicons11 = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\Flagicons11::class);
/** @var \Jajuma\HyvaFlags\ViewModel\Flagicons32 $flagicons32 */
$flagicons32 = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\Flagicons32::class);
/** @var \Jajuma\HyvaFlags\ViewModel\Flagicons43 $flagicons43 */
$flagicons43 = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\Flagicons43::class);
/** @var \Jajuma\HyvaFlags\ViewModel\FlagiconsCircle $flagiconscircle */
$flagiconscircle = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\FlagiconsCircle::class);
/** @var \Jajuma\HyvaFlags\ViewModel\FlagiconsOfficial $flagiconsOfficial */
$flagiconsOfficial = $viewModels->require(\Jajuma\HyvaFlags\ViewModel\FlagiconsOfficial::class);

3. Then render the icons like this:

<?= $flagicons11->acHtml('text-red-100', 24, 24) ?>

The method name is the camel-cased icon name, followed by Html. In an IDE you should have auto completion for all available methods. The parameters are optional and change the class, width, and height attributes of the SVG element.
It is recommended to set all of them so that the images are not rendered in huge sizes if CSS fails to load.

or you may also pass additional attributes like this:

<?= $flagicons11->acHtml('w-10 h-10', 24, 24, ['style'=>'position:relative']) ?>

How to use Hyvä Flag Icons In Hyvä Themes In CMS Content

Hyvä Flags module adds an icon directive to render icons in filtered content like CMS blocks or pages. So you may add icons in text / code blocks like this:

icon "flagicons/1x1/ac" classes​="text-red-100" width=12 height=12

Write Your Review

Your Rating:

You submitted your review for moderation.

Frequently Asked Questions

General Magento Extension Questions
How to install Magento 2 extensions from JaJuMa?

We offer different ways of Magento 2 extension installation:

Before Installing

  • We recommend you to duplicate your live store on a staging/test site and try installation on your staging/test site before deploying to your live store
  • Backup Magento files and the store database

Please Note:
It’s very important to backup all themes and extensions in Magento before installation, especially when you are working on a live server. We strongly recommend you to do not skip this step.

Manual Extension Installation via FTP/SSH:

After purchasing an extension, you can download the module as .zip package in your Customer Account.
After downloading the .zip package, please follow these steps for installation:

  1. Log into your hosting space via a FTP client (e. g. FileZilla, WinSCP, cuteFtp)
  2. Create Folder: /app/code/Jajuma/[ExtensionName]*
  3. Unzip extension package and upload files into: /app/code/Jajuma/[ExtensionName]*
  4. Enter and run the following commands at the command line:
    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy

* Note: [ExtensionName] can be found in registration.php file: Jajuma_[ExtensionName]


Extension Installation via Composer / Magento Marketplace:

For installation via composer, please get the extension

  • from Github and install as any other extension from Github or
  • from Magento Marketplace and follow this Installation Guide and
    make sure to use the correct key for Marketplace repo (the key that belongs to the account that purchased the module).
    In case of issue with installing via composer, please double-check to use the correct key for Marketplace repo.
    Your key should be in your auth.json file.

Links for composer installation to Github/Marketplace can be found on top of this page in technical info section - Click Here

Error Could not find a matching version of package jajuma/[module-name]. Check the package spelling, your version constraint and that the package

With this error message, most likely the key used for the Marketplace repo is wrong/invalid, i. e. not the key that belongs to the account that purchased the module. Please double-check to use the correct key for the Marketplace repo.

For installing extensions from Magento Marketplace, please follow this guide and make sure to use the correct key for the Marketplace repo:
Installation Guide

Please feel free to get in touch with our support in case you have any further questions or concerns or check with Marketplace support in case the installation issue can not be resolved.

Do you offer free technical support?

After purchasing a (non-free) extension we provide 12 month support via support ticket for free.

Do you offer customization service for your extensions?

Yes, please get in touch with our customer support so we can clarify your requirement and provide a quote.

Where can I download my extension?

You can download your extension from your customer account as soon as the payment has been processed.

Do you offer a free trial period?

Unfortunately, we can not offer a free trial period.

However, we do have demo site for all our extensions. Feel free to test all the features and see how the extensions work.

In case of any questions or concerns regarding compatibility or how some extension works our customer support is also always happy to help.

Do you offer refunds?

All our extensions are non-tangible downloadable goods. Hence we can unfortunately not issue refunds.

Refunds will NEVER be issued for services provided such as installation support, customization and software development work.


Version: 1.0.0

  • Initial Release

Version: 1.0.1

  • Added: 3:2 Ratio
  • Added: Official Sizes

More Extensions

Maybe also interesting for you?
More valuable Extensions and Add-Ons for your Magento Store

Our Customers Are Excited!