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

driesvints/blade-icons

Blade Icons lets you use SVG icons in Laravel Blade with simple components and directives. Convert files like camera.svg into or @svg('camera') with easy class/attribute control, and plug in community icon set packages.

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, cutting development time for UI elements (e.g., buttons, tooltips, dashboards).
  • Scalability: Support modular icon sets (e.g., Heroicons, Font Awesome) without bloating the codebase, enabling A/B testing or theming.
  • Roadmap: Enable rapid UI iteration for features like:
    • Dark mode toggle (via SVG fill/stroke attributes).
    • Localized icons (e.g., country flags, payment logos).
    • Dynamic icon loading (e.g., lazy-loading icons for performance).
  • Build vs. Buy: Avoid reinventing icon management (e.g., SVG optimization, caching) while leveraging community-driven icon sets.
  • Use Cases:
    • Admin panels (e.g., dashboard widgets with Heroicons).
    • E-commerce (e.g., product categories with Font Awesome).
    • SaaS tools (e.g., status indicators with Tabler Icons).

When to Consider This Package

  • Adopt if:

    • Your Laravel app uses Blade templates heavily (e.g., >50% of frontend).
    • You need SVG icons with customizable styles (colors, sizes) via Tailwind/utility classes.
    • Your team prioritizes maintainability over minimal bundle size (package adds ~1KB per icon request).
    • You require third-party icon sets (e.g., Material Design, Feather) without font dependencies.
  • Look elsewhere if:

    • You’re using non-Blade templates (e.g., Inertia.js with React/Vue).
    • Performance is critical (e.g., mobile apps) and you need font-based icons (e.g., Iconify) for smaller payloads.
    • Your design system already has a dedicated icon library (e.g., Storybook + SVGR).
    • You need interactive icons (e.g., animations, hover effects) beyond static SVGs.

How to Pitch It (Stakeholders)

For Executives: "Blade Icons lets us ship UI faster by replacing manual SVG imports with reusable components—like swapping <x-icon-camera /> for <svg>...</svg>. This cuts dev time by 30% for icon-heavy features (e.g., dashboards) while keeping our design system consistent. The MIT license and 2.5K+ GitHub stars mean it’s battle-tested, and we can extend it with community icon sets like Heroicons or Font Awesome. Upfront cost: ~1 hour to install; ROI: weeks saved on UI polish."

For Engineers: *"This is a drop-in solution for SVG icons in Blade. Key benefits:

  • Zero build step: Icons are served as SVGs (no font files or web fonts).
  • Tailwind-friendly: Style icons with utility classes (e.g., text-red-500).
  • Modular: Add icon sets via Composer (e.g., blade-heroicons).
  • Caching: Optimized for production (Laravel’s view caching applies). Tradeoff: Slightly larger payload than font icons, but ideal for apps where SVG semantics matter (e.g., accessibility)."*
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle