PHP code example of zaimealabs / heroicons
1. Go to this page and download the library: Download zaimealabs/heroicons 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/ */
zaimealabs / heroicons example snippets
bash
php artisan vendor:publish --tag="heroicons.config"
bash
php artisan vendor:publish --tag="heroicons.views"
blade
<x-icon name="user" />
<x-icon name="user" solid />
<x-icon name="user" solid mini />
<x-icon name="user" variant="solid" />
<x-icon class="w-5 h-5 text-teal-600" name="user" />
<x-heroicons::outline.user />
<x-heroicons::solid.user />
<x-heroicons::mini.solid.user class="w-5 h-5" />