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

Overview

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 Hyvä

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

You might also like...
Magento 2 Finnish Language Pack is the perfect guide so that you can enable Finnish on your magento 2 store. This translation is really necessary for everyone who are living in the Finland. Here is a step-by-step guide to install Finnish package and use it as the default language.
A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2

Simple Import / Export tool A tool that allows to quickly export data from Magento 1 and Magento 2 store and import it back into Magento 2. Table data

Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Give our package a Star to support us ⭐ 😍 Inst

❄️ Magento 2 Snowflake module allow you to add snow and even more on your site and make winter fun.

❄️ Magento 2 Snowflake module allow you to add snow and even more on your site and make winter fun.

Magento 2 module which can find potential url related problems in your catalog data
Magento 2 module which can find potential url related problems in your catalog data

Url data integrity checker module for Magento 2 Purpose The purpose of this module is to give store owners of a Magento 2 shop insight into what url-r

Experimenting with Zabbix frontend modules
Experimenting with Zabbix frontend modules

Modules Request for new example can be left as issue for this repository, will do my best to implement if it is possible. Extending host popup menu Ac

Cbe frontauth - A Textpattern plugin to manage backend connections from frontend and protect content from non-logged users

cbe_frontauth This client-side plugin lets your users (or you) manage backend connection from frontend, i.e. connect and disconnect as they (you) woul

It allows frontend developer to send ajax requests and return a custom information from the server without a php developer help

[Magento 1 Extension] It allows frontend developer to send ajax requests and return a custom information from the server without a php developer help (without any php code).

composer plugin for a better frontend setup

node-composer composer plugin for a better frontend setup PHP projects mostly are Web-Applications. Many Web-Applications also need a frontend part wh

Releases(1.0.0)
Owner
Siteation
21st Century E-commerce
Siteation
YCOM Impersonate. Login as selected YCOM user 🧙‍♂️in frontend.

YCOM Impersonate Login as selected YCOM user in frontend. Features: Backend users with admin rights or YCOM[] rights, can be automatically logged in v

Friends Of REDAXO 17 Sep 12, 2022
Magento 2 Module that adds Donation Product Type. Enables the customer to add a donation (product) of a preferred amount to the cart.

Magento 2 Module Experius DonationProduct (RC1.0) Demo website: https://donationproduct.experius.nl Magento Marketplace: https://marketplace.magento.c

Experius 23 Apr 1, 2022
All the cryptocurrency icons available on coinmarketcap.com

Cryptocurrency Icons The official cryptocurrency icon pack for all your favourite cryptocurrencies. This repository contains all the cryptocurrency ic

Erik Thiart 130 Dec 29, 2022
A WordPress plugin that displays proxied war news from the free world to Russian IP address visitors with option to block further access.

A WordPress plugin that displays proxied war news from the free world to Russian IP address visitors with option to block further access.

null 5 Jul 15, 2022
Searchable DataObjects is a module that permit to include DataObjects into frontend search

Searchable DataObjects Searchable DataObjects is a module that permit to include DataObjects into frontend search. Introduction Pages are not always t

Gabriele Brosulo 25 May 11, 2022
Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table

Magento 2 Module Experius Page Not Found 404 This module saves all 404 urls to a database table. Adds an admin grid with 404s It includes a count so y

Experius 28 Dec 9, 2022
This module adds a command to easily generate "modules" in Laravel and install them using composer.

Laravel Module Create This module adds a command to easily generate "modules" in Laravel and install them using composer Installation Simply install t

null 2 Feb 18, 2022
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.

Strategery 123 Nov 20, 2021