📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Stale v1.0.3

Magento2 Hyva Icons Flags

siteation/magento2-hyva-icons-flags

Enables the use of Flagpack icons in Hyvä themes. Allows embedding SVG flag icons in CMS content, pages, blocks, and widgets.

15,345
Downloads
Below average
8
GitHub Stars
Below average
1y ago
Last Release
2
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
3 errors
PHPStan Level 9

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.3 on Magento 2.4.8-p3
Dec 28, 2025
v1.0.3 on Magento 2.4.8-p3
Dec 27, 2025

Share This Module's Status

Magento2 Hyva Icons Flags Magento compatibility status badge

README

Loaded from GitHub

Siteation - Hyva Icon Pack - Flags

Packagist Version Supported Magento Versions Hyva Themes Module License

This Magento 2 module adds the option to use Flagpack icons in your Hyvä frontend.

This requires that you have a working Hyvä frontend, this icon pack was made specifically for Hyvä Themes and will not work out of the box with any other frontend.

Installation

Install the package via;

composer require siteation/magento2-hyva-icons-flags
bin/magento setup:upgrade

Warning This Module requires Magento 2.4 or higher and requires Hyvä! For more requirements see the composer.json.

How to use

By default this module loads nothing.

To use this icon pack instead of the default Hyvä icons, add the following to your phtml file;

<?php
use Hyva\Theme\Model\ViewModelRegistry;
use Siteation\HyvaIconsFlags\ViewModel\FlagsIcons;

/** @var ViewModelRegistry $viewModels */

/** @var FlagsIcons $flagsIcons */
$flagsIcons = $viewModels->require(FlagsIcons::class);

and use the FlagsIcons just as the HeroIcons in Hyvä;

<?= $flagsIcons->nlHtml('p-1', 24, 24, ["aria-label" => "Netherlands"]) ?>

Using SVG icons in CMS content

You can now also use the SVG icons in your CMS content.

Bringing svg icon support to you CMS pages, Blocks and Widgets.

{{icon "flags/nl"}}

For more information on how and what see the Hyvä Docs

This feature is supported since Hyvä v1.1.12

Other icon packs for Hyva

  • For Icons packs see https://github.com/topics/hyva-icons

If you are looking for a Luma based option checkout this icon pack instead.

Icon License

Flagpack used in this module were created by Yummygum under a MIT License, found here

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.