PHP code example of jiny / icons

1. Go to this page and download the library: Download jiny/icons 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/ */

    

jiny / icons example snippets


xIcon("o-academic-cap", $type="heroicon")->setClass("w-8 h-8");
xIcon("o-academic-cap")->setType("heroicon")->setClass("w-8 h-8");

<x-icon type="heroicon" name="o-academic-cap" class="w-4 h-4"/>