PHP code example of siteation / magento2-hyva-icons-feather

1. Go to this page and download the library: Download siteation/magento2-hyva-icons-feather library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

siteation / magento2-hyva-icons-feather example snippets



use Hyva\Theme\Model\ViewModelRegistry;
use Siteation\HyvaIconsFeather\ViewModel\FeatherIcons;

/** @var ViewModelRegistry $viewModels */

/** @var FeatherIcons $featherIcons */
$featherIcons = $viewModels->

<?= $featherIcons->menuHtml('p-1', 24, 24, ["aria-label" => "Open menu"])