Downloads
Stars
Version
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',
],
...
}