The Home for Magento 2 Excellence

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

1090 Modules
617 Ready
473 Need Help
🏆 Leaderboard
Actively Maintained v1.0.0

Simple Icons for Hyva (Magento 2)

aimanecouissi/module-hyva-simple-icons

Integrates the Simple Icons brand icon set into Hyva themes as a dedicated SvgIcons view model, copying icons automatically from the simple-icons package during setup.

1
Downloads
Below average
1
GitHub Stars
Below average
2mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
8 warnings
L0 PHPStan

Tested on Magento 2.4.9

Recent Test History

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

v1.0.0 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

Simple Icons for Hyva (Magento 2) Magento compatibility status badge

README

Loaded from GitHub

AimaneCouissi_HyvaSimpleIcons

Integrates the Simple Icons SVG icon set into Hyvä Themes, exposing brand icons as a dedicated SvgIcons view model. Preview available icons at simpleicons.org.

[!IMPORTANT] SVG icons are not bundled with this module. They are copied automatically from the simple-icons/simple-icons Composer dependency during setup:upgrade and kept in sync on every subsequent run.

Installation

composer require aimanecouissi/module-hyva-simple-icons
bin/magento module:enable AimaneCouissi_HyvaSvgIcons AimaneCouissi_HyvaSimpleIcons
bin/magento setup:upgrade
bin/magento cache:flush

Usage

In Hyvä PHTML templates

Require the view model and call its helper methods to render icons:

<?php

use AimaneCouissi\HyvaSimpleIcons\ViewModel\SimpleIcons;
use Hyva\Theme\Model\ViewModelRegistry;

/** @var ViewModelRegistry $viewModels */

$simpleIcons = $viewModels->require(SimpleIcons::class);
?>
<?= $simpleIcons->phpHtml('w-6 h-6', 24, 24, ['aria-label' => 'PHP']) ?>

Methods are generated from SVG filenames and fully documented via PHPDoc on the view model, so your IDE can autocomplete them. Icons whose names start with a digit are prefixed with an underscore (e.g. _99designsHtml, _500pxHtml).

In CMS content

The module registers the simpleicons prefix for Hyvä SvgIcons. Icons can be used directly in CMS pages, blocks, and widgets:

{{icon "simpleicons/php" classes="inline-block w-6 h-6" width=24 height=24}}

Uninstall

bin/magento module:disable AimaneCouissi_HyvaSimpleIcons
composer remove aimanecouissi/module-hyva-simple-icons
bin/magento setup:upgrade
bin/magento cache:flush

Changelog

See CHANGELOG for all recent changes.

License

The Simple Icons SVG icons are created by Simple Icons contributors and dedicated to the public domain under CC0 1.0.

[!WARNING] Individual brand icons may be subject to their own trademark and usage guidelines. Trademark usage is the responsibility of the end user. Please consult individual brand guidelines before displaying logos in commercial contexts. See DISCLAIMER.md for further details.

This module's source code is separately licensed under MIT.

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.