daljo25/blade-pixelicon-icons
Laravel Blade UI Kit icon set for the Pixel Icon Library by HackerNoon. Includes 450+ SVG icons (regular, solid, brands, purcats) with Blade components, @svg directive, and svg() helper. Auto-injects fill="currentColor" for easy CSS color control.
Blade UI Kit package for the Pixel Icon Library by HackerNoon.
This package provides 450+ SVG icons ready to use in Laravel Blade using the same developer experience as other Blade UI Kit icon sets.
![]()
fill / stylecomposer require daljo25/blade-pixelicon-icons
You may publish the config file and/or the SVG icons if you want to customize them.
php artisan vendor:publish --tag=blade-pixelicon-icons-config
This will publish:
config/blade-pixelicon-icons.php
php artisan vendor:publish --tag=blade-pixelicon-icons
This will publish all icons to:
resources/svg/vendor/blade-pixelicon-icons
This is useful if you want to:
You can search for icons in the official Pixel Icon Library by HackerNoon
This package follows the Blade UI Kit icon conventions.
You can use any of the 3 supported syntaxes.
<x-pixelicon-user />
<x-pixelicon-home />
<x-pixelicon-android />
@svg Directive@svg('pixelicon-home')
@svg('pixelicon-user')
svg() Helper{{ svg('pixelicon-android') }}
Pixelicon SVGs do not include fill or stroke attributes by design.
This package injects fill="currentColor" automatically via config so icons inherit color from CSS.
⚠️ Because of how these SVGs are built:
Color must be applied using:
fill=""style=""❌ Tailwind text- classes WILL NOT work reliably.*
fill<x-pixelicon-user fill="red" />
@svg('pixelicon-home', 'w-6 h-6', ['fill' => '#16a34a'])
<x-pixelicon-user style="color:#0ea5e9" />
{{ svg('pixelicon-android')->style('color:#f97316') }}
<div style="color: purple">
<x-pixelicon-user />
</div>
{{-- This will NOT work reliably --}}
<x-pixelicon-user class="text-red-500" />
This limitation comes from the original Pixelicon SVG structure and is intentional to keep the source files unmodified.
All icons use the prefix:
pixelicon-
Examples:
pixelicon-user
pixelicon-home
pixelicon-github
pixelicon-android
pixelicon-youtube
Icons are generated from the official Pixel Icon Library:
All icons are merged into a single set for convenience.
Config file:
config/blade-pixelicon-icons.php
You normally don’t need to change anything, but it allows you to:
composer test
MIT © Daljomar Morillo
Pixel Icon Library by HackerNoon is used under its respective license MIT for code and Creative Commons for the icons.
How can I help you explore Laravel packages today?