A simple implementation of Heroicons in Laravel.
vojislavd/heroicons-laravel is a Laravel package for a simple implementation of heroicons in laravel..
It currently has 2 GitHub stars and 21 downloads on Packagist (latest version v1.0.0).
Install it with composer require vojislavd/heroicons-laravel.
Discover more Laravel packages by vojislavd
or browse all Laravel packages to compare alternatives.
Last updated
A simple implementation of Heroicons in Laravel.
You can install the package via Composer:
composer require vojislavd/heroicons-laravel
You can use an icon by adding <x-icon /> to your Blade file and passing the icon name:
<x-icon name="icon-name" />
By default, the outline icons are used. If you want to use another type (outline, solid, mini, micro), add the type attribute to the component:
<x-icon name="icon-name" type="solid" />
You can also customize other icon attributes. For example:
<x-icon
name="icon-name"
type="outline"
fill="none"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
/>
The MIT License (MIT). Please see License File for more information.