CodeIU Laravel Blade HeroIcons Directive
codeiucom/laravel-blade-heroicons is a Laravel package for codeiu laravel blade heroicons directive.
It currently has 0 GitHub stars and 43 downloads on Packagist (latest version v1.0.1).
Install it with composer require codeiucom/laravel-blade-heroicons.
Discover more Laravel packages by codeiucom
or browse all Laravel packages to compare alternatives.
Last updated
more svg icons:
https://github.com/codeiucom/laravel-blade-svg-icons
composer require codeiucom/laravel-blade-heroicons
ex) @heroicons-iconName-style("classes")
@heroicons-folder("w-6 h-6")
@heroicons-folder-o("w-6 h-6")
@heroicons-folder-s("w-6 h-6")
<heroicons-folder class="w-6 h-6"/>
<!-- or -->
<heroicons-folder class="w-6 h-6"></heroicons-folder>
<heroicons-folder-o class="w-6 h-6"/>
<!-- or -->
<heroicons-folder-o class="w-6 h-6"></heroicons-folder-o>
<heroicons-folder-s class="w-6 h-6"/>
<!-- or -->
<heroicons-folder-s class="w-6 h-6"></heroicons-folder-s>
CODEIU_LARAVEL_BLADE_HEROICONS_PREFIX=icons
CODEIU_LARAVEL_BLADE_HEROICONS_DEFAULT_STYLE=outline
CODEIU_LARAVEL_BLADE_HEROICONS_DEFAULT_CLASSES="w-6 h-6"
if you use default class with tailwindcss, add below in tailwind.config.js
module.exports = {
...
content: [
'./storage/framework/views/*.php',
],
...
}