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