PHP code example of siteation / magento2-hyva-icons-bootstrap
1. Go to this page and download the library: Download siteation/magento2-hyva-icons-bootstrap 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-bootstrap example snippets
use Hyva\Theme\Model\ViewModelRegistry;
use Siteation\HyvaIconsBootstrap\ViewModel\BootstrapIcons;
/** @var ViewModelRegistry $viewModels */
/** @var BootstrapIcons $bootstrapIcons */
$bootstrapIcons = $viewModels->
<?= $bootstrapIcons->listHtml('p-1', 24, 24, ["aria-label" => "Open menu"])