A package to easily make use of StoreFront Icons in your Laravel Blade views.
forrodominik/blade-sf-icons is a Laravel package for a package to easily make use of storefront icons in your laravel blade views..
It currently has 0 GitHub stars and 88 downloads on Packagist (latest version v1.9).
Install it with composer require forrodominik/blade-sf-icons.
Discover more Laravel packages by forrodominik
or browse all Laravel packages to compare alternatives.
Last updated
A package to easily make use of StoreFront Icons in your Laravel Blade views.
composer require forrodominik/blade-sf-icons
Blade StoreFront Icons also offers the ability to use features from Blade Icons like default classes, default attributes, etc. If you'd like to configure these, publish the blade-sf-icons.php config file:
php artisan vendor:publish --tag=blade-sf-icons-config
Icons can be used as self-closing Blade components which will be compiled to SVG icons:
<x-sficon-adjustments/>
You can also pass classes to your icon components:
<x-sficon-adjustments class="w-6 h-6 text-gray-500"/>
And even use inline styles:
<x-sficon-adjustments style="color: #555"/>
The solid icons can be referenced like this:
<x-sficon-s-adjustments/>