A package to easily make use of Heroicons in your Laravel Blade views.
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.
Join the Discord server: https://discord.gg/Vev5CyE
composer require blade-ui-kit/blade-heroicons
the upgrade guidewhen updating the library.
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:
The solid icons can be referenced like this:
If you want to use the raw SVG icons as assets, you can publish them using:
php artisan vendor:publish --tag=blade-heroicons --force
Then use them in your views like:
Blade Heroicons uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality.
Check out the CHANGELOG in this repository for all the recent changes.
Blade Heroicons is developed and maintained by Dries Vints.
Blade Heroicons is open-sourced software licensed under the MIT license.