Download the PHP package mansoor/blade-lets-icons without Composer
On this page you can find all versions of the php package mansoor/blade-lets-icons. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mansoor/blade-lets-icons
More information about mansoor/blade-lets-icons
Files in mansoor/blade-lets-icons
Package blade-lets-icons
Short Description A package to easily make use of Lets Icons in your Laravel Blade views.
License MIT
Homepage https://github.com/mansoorkhan96/blade-lets-icons
Informations about the package blade-lets-icons
Blade Lets Icons
A package to easily make use of Lets Icons in your Laravel Blade views.
For a full list of available icons see Leonid Tsvetkov.
Requirements
- PHP 8.0 or higher
- Laravel 9.0 or higher
Installation
Blade Icons
Blade Lets Icons uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality. We also recommend to enable icon caching with this library.
Configuration
Blade Lets 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-lets-icons.php
config file:
Usage
Icons can be used as self-closing Blade components which will be compiled to SVG icons:
You can also pass classes to your icon components:
And even use inline styles:
Or use the @svg
directive:
Raw SVG Icons
If you want to use the raw SVG icons as assets, you can publish them using:
Then use them in your views like:
Acknowledgements
This project uses icons from Lets Icons which are licensed under the Creative Commons Attribution 4.0 International License. You can view the license here.
Icons by Leonid Tsvetkov from [Lets Icons].
Changelog
Check out the CHANGELOG in this repository for all the recent changes.
License
Blade Lets Icons is open-sourced software licensed under the MIT license.
All versions of blade-lets-icons with dependencies
blade-ui-kit/blade-icons Version ^1.6
illuminate/support Version ^9.0|^10.0|^11.0|^12.0