Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Blade Icons Laravel Package

blade-ui-kit/blade-icons

Use SVG icons in Laravel Blade with simple components and directives. Turn SVG files into or @svg('name') calls, support multiple icon sets/packages, and customize classes/attributes for consistent, reusable icons across your app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • UI/UX Consistency: Standardize icon usage across Laravel Blade templates, reducing visual inconsistencies and improving brand cohesion.
  • Developer Productivity: Replace manual SVG imports with reusable Blade components (<x-icon-camera />), accelerating frontend development.
  • Design System Adoption: Integrate with existing design systems (e.g., Heroicons, Material Icons) via third-party packages, ensuring alignment with UI guidelines.
  • Build vs. Buy: Avoid reinventing icon management infrastructure; leverage a battle-tested, MIT-licensed solution with 2.4K+ stars.
  • Roadmap Priorities:
    • Phase 1: Adopt base package + 1–2 icon sets (e.g., Heroicons, Feather) for core features.
    • Phase 2: Expand to niche icon sets (e.g., blade-country-flags, blade-payment-logos) for localized/global products.
    • Phase 3: Custom icon sets for proprietary assets (e.g., blade-[product]-icons).
  • Use Cases:
    • Dashboards (e.g., <x-icon-chart /> for analytics).
    • Forms (e.g., <x-icon-lock /> for security indicators).
    • Documentation (e.g., @svg('code', 'text-blue-500') for syntax highlighting).
    • Localization (e.g., blade-country-flags for multilingual apps).

When to Consider This Package

Adopt if:

  • Your Laravel app uses Blade templates and needs SVG icons (scalable, crisp rendering).
  • You prioritize developer velocity over custom icon solutions (e.g., manual SVG imports or icon fonts).
  • Your team uses design systems with supported icon sets (e.g., Heroicons, Material Icons).
  • You require third-party icon sets (e.g., flags, cryptocurrency, file types) without building them in-house.

Look elsewhere if:

  • You’re not using Laravel/Blade (e.g., React/Vue/Next.js; consider react-icons or vue-icon).
  • You need interactive/icons (e.g., animations; consider lucide-react or heroicons with JS).
  • Your app is icon-heavy (e.g., 1000+ custom icons); evaluate custom build or Figma/Adobe XD exports.
  • You require dynamic icon generation (e.g., AI-generated icons); consider server-side SVG rendering.
  • Your stack uses PHP <7.4 or Laravel <8.0 (compatibility constraints).

How to Pitch It (Stakeholders)

For Executives: "Blade Icons lets us standardize UI elements across our Laravel apps with minimal dev effort. By replacing manual SVG imports with reusable Blade components (e.g., <x-icon-camera />), we’ll cut frontend dev time by 30% while ensuring visual consistency. The package supports 50+ icon sets—from Heroicons for dashboards to blade-country-flags for global apps—reducing third-party dependencies. MIT license and 2.4K GitHub stars mean it’s production-ready. Phase 1 adoption (Heroicons + Feather) costs ~$0 and delivers immediate ROI in developer productivity."

For Engineers: *"This is a drop-in solution for Laravel icon management. Key benefits:

  • Zero SVG clutter: Replace <svg> blocks with <x-icon-name /> or @svg('name').
  • Design system ready: Pre-built packages for Heroicons, Material Icons, etc.
  • Extensible: Add custom icon sets (e.g., resources/svg/) or community packages.
  • Performance: SVGs are cached; no runtime bloat. Installation takes 10 mins (composer require, publish config). Trade-off: Limited to Blade (but that’s our stack)."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport