themesberg/flowbite-blade-icons
Use Flowbite Icons in Laravel Blade via Blade UI Kit. Provides outline and solid SVG icons as Blade components and @svg directive, with support for classes, attributes, and caching. PHP 8.1+ and Laravel 9+.
w-6 h-6 text-blue-500), reducing CSS overhead. No custom styling logic required for basic use cases.composer require themesberg/flowbite-blade-icons) and zero configuration for basic usage. Advanced features (e.g., caching, defaults) are optional.php artisan vendor:publish --tag=flowbite-blade-icons) for use as static assets, useful for non-Blade contexts (e.g., JavaScript templates).Design System Alignment:
Performance Requirements:
Maintenance Strategy:
Long-Term Scalability:
Alternatives Assessment:
Assessment Phase (1–2 hours):
Installation (30 minutes):
composer require themesberg/flowbite-blade-icons
php artisan vendor:publish --tag=flowbite-blade-icons-config
// config/blade-icons.php
'cache' => true,
Pilot Integration (2–4 hours):
<x-fwb-o-settings class="w-6 h-6 text-blue-500" />).currentColor).Full Rollout (1–2 days for large apps):
find <i class="fa-solid fa-.*"> -r | xargs sed → <x-fwb-s-* />).fwb-o-* for outline, fwb-s-* for solid).php artisan vendor:publish --tag=flowbite-blade-icons --force
Optimization (Ongoing):
<x-fwb-o-settings />) and @svg directives (@svg('fwb-o-settings')), offering flexibility.w-6, text-red-500).currentColor, so they adapt to Tailwind’s dark: variants without additional CSS.public/vendor/flowbite-blade-icons/ for use in non-Blade contexts (e.g., emails, JS templates).Phase 1: Core Integration
Phase 2: Full Replacement
Phase 3: Optimization
Phase 4: Documentation & Training
composer update).flowbite-blade-icons.php) allows centralized defaults (e.g., global classes/attributes), reducing template duplication.How can I help you explore Laravel packages today?