laravel-icons maintained by iopro
Heroicons for Laravel
Easily use Heroicons in Laravel projects.
Requirements
- Laravel
- Tailwind CSS
Installation
You can install the package via Composer:
composer require iopro/laravel-icons
Usage
<x-icons.icon_name />
By default, the outline icons are used. If you want to use another type (solid, mini, micro), add needed attribute to the component:
<x-icons.icon_name solid />
<x-icons.icon_name mini />
<x-icons.icon_name micro />
You can also customize other icon attributes. For example:
<x-icons.icon_name
stroke-width="1.5"
fill="none"
stroke="currentColor"
class="w-12 h-12"
/>
Credits
License
The MIT License (MIT). Please see License File for more information.