๐Ÿช„Add Custom Icons

you can add a custom icon lib by using this Facade class inside your provider like this

use TomatoPHP\FilamentIcons\Facades\FilamentIcons;

public function boot(): void
        ->template('<i class="{ ICON }"></i>', 'text-xl', 'text-sm')
            "bx bx-accessibility",
            "bx bx-add-to-queue",
            "bx bx-adjust"
        ->replace(['bx ', 'bxs-', 'bxl-', 'bx-'])

then you need to clear the cache by using this command

php artisan filament-icons:clear

you can try adding Box Icons using this snap Box Icon Snap

Last updated