devsquad / icons
Heroicons blade components to Laravel.
Installs: 221
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.0
- illuminate/filesystem: ^8.40
- illuminate/support: ^8.40
This package is auto-updated.
Last update: 2024-12-13 01:10:40 UTC
README
This library creates basic components blade icons based in heroicons icons library.
Installation
Access your laravel source and install following library.
composer require devsquad/icons --dev
Now run artisan command to copy blade files to your components path.
php artisan icons:install
Usage
In your vies blade will be possible to call icons components by follow component.
<x-icons.heroicons.outline.chart-pie />
The icon chart-pie
from outline section of Heroicons library will be show in your laravel application view.
Customization
If you use tailwindcss will may use customizations classes to customize your icons in applications.
Examples
<x-icons.heroicons.outline.chart-bar class="text-red-500" />
The icon chart-bar
from outline section fill with red-500
color from tailiwndcss.
<x-icons.heroicons.solid.clipboard-check class="text-green-300 w-56" />
The icon 'clipboard-check' from solid section fill with green-300
color and with width 56
from tailwindcss.