PHP code example of theutz / statamic-ant-design-icons

1. Go to this page and download the library: Download theutz/statamic-ant-design-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/ */

    

theutz / statamic-ant-design-icons example snippets


// config/filesystems.php
return [
    // ...
    'disks' => [
        // ...
        'antdesignicons' => [
            'driver' => 'local',
            'root' => public_path('vendor/statamic-ant-design-icons'),
            'url' => env('APP_URL') . '/vendor/statamic-ant-design-icons',
            'visibility' => 'public'
        ]
    ],
];
antlers
    {{ antdesignicons:check-circle:outlined }}

    <!-- You can use `anticon` as an alias -->

    {{ anticon:check-circle type="outlined" }}

    {{ anticon icon="check-circle" type="outlined" }}

    <!-- outlined is the default icon type, and can be excluded -->

    {{ anticon:check-circle }}