Download the PHP package aimanecouissi/module-hyva-simple-icons without Composer
On this page you can find all versions of the php package aimanecouissi/module-hyva-simple-icons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aimanecouissi/module-hyva-simple-icons
More information about aimanecouissi/module-hyva-simple-icons
Files in aimanecouissi/module-hyva-simple-icons
Package module-hyva-simple-icons
Short Description Add the Simple Icons SVG icon set to Hyvä Themes
License MIT
Homepage https://github.com/aimanecouissi/magento2-module-hyva-simple-icons
Informations about the package module-hyva-simple-icons
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-iconsComposer dependency duringsetup:upgradeand kept in sync on every subsequent run.
Installation
Usage
In Hyvä PHTML templates
Require the view model and call its helper methods to render icons:
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:
Uninstall
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.
All versions of module-hyva-simple-icons with dependencies
magento/framework Version 103.0.*
hyva-themes/magento2-theme-module Version >=1.1.12
aimanecouissi/module-hyva-svg-icons Version ^1.0
simple-icons/simple-icons Version ^16.0