{"repo":"driesvints/blade-heroicons","free":true,"listed":false,"github":"https://github.com/driesvints/blade-heroicons","clone":"git clone https://github.com/driesvints/blade-heroicons.git","description":"A package to easily make use of Heroicons in your Laravel Blade views.","language":"PHP","stars":642,"topics":["laravel","blade","icons","heroicons","svg"],"license":"MIT","category":"ui-components","readme_excerpt":"Blade Heroicons A package to easily make use of Heroicons in your Laravel Blade views. For a full list of available icons see the SVG directory or preview them at heroicons.com. Heroicons are originally developed by Steve Schoger and Adam Wathan. Requirements - PHP 8.0 or higher - Laravel 9.0 or higher Installation Updating Please refer to the upgrade guide when updating the library. Blade Icons Blade Heroicons 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 Heroicons 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-heroicons.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: The solid icons can be referenced like this: The mini icons can be referenced like this: And the micro icons can be referenced like this: 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: Changelog Check out the CHANGELOG in this repository for all the recent changes. Maintainers Blade Heroicons is developed and maintained by Dries Vints. License Blade Heroicons is open-sourced software licensed under the MIT license.","default_branch":null,"files":null,"tree":[],"storefront":"/r/driesvints","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/driesvints/blade-heroicons/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}