PHP code example of janczakb / blade-gravity-icons
1. Go to this page and download the library: Download janczakb/blade-gravity-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/ */
janczakb / blade-gravity-icons example snippets
use Filament\Support\Enums\IconSize;
\Filament\Support\generate_icon_html('gravityui-magnifier', size: IconSize::Small);
use Filament\Actions\Action;
Action::make('search')
->icon('gravityui-magnifier');
use Bjanczak\BladeGravityIcons\GravityIcon;
GravityIcon::make('EyeClosed'); // gravityui-eye-closed
GravityIcon::make('arrow-chevron-down'); // gravityui-arrow-chevron-down
bash
php artisan vendor:publish --tag=blade-gravity-icons-config