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 Heroicons Laravel Package

blade-ui-kit/blade-heroicons

Use Heroicons in Laravel Blade via simple SVG components. Supports passing classes/attributes, configuration through Blade Icons (defaults, caching), and works with PHP 8+ and Laravel 9+. Browse icons in the bundled SVGs or on heroicons.com.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • UI Consistency & Design System Adoption:

    • Standardize iconography across Laravel-based applications, reducing ad-hoc SVG usage and ensuring visual consistency with Heroicons (a widely adopted, high-quality icon set).
    • Align with Tailwind CSS ecosystems (Heroicons are designed for Tailwind) to streamline frontend development for teams already using Tailwind.
  • Developer Productivity:

    • Build vs. Buy: Avoid reinventing icon integration (e.g., manually embedding SVGs or using third-party icon fonts). This package reduces boilerplate and maintenance overhead.
    • Roadmap: Enable faster UI iteration for features like dashboards, admin panels, or public-facing apps where icons are critical (e.g., buttons, tooltips, status indicators).
    • Use Cases:
      • Internal Tools: Accelerate development of Laravel admin panels or SaaS platforms.
      • Public Products: Enhance user interfaces for marketing sites, e-commerce, or customer portals with polished, scalable icons.
      • Component Libraries: Integrate into shared UI components (e.g., buttons, cards) to ensure consistency across micro-services or monoliths.
  • Performance & Maintainability:

    • Leverage Blade Icons caching to reduce runtime overhead from repeated SVG compilation.
    • Publish raw SVGs as assets for direct <img> usage in performance-critical paths (e.g., hero sections, lazy-loaded components).
  • Future-Proofing:

    • Supports Laravel 9–13 and PHP 8+, ensuring compatibility with long-term roadmaps.
    • Underlying Heroicons library is actively maintained (e.g., v2.2.0 updates), reducing risk of icon set obsolescence.

When to Consider This Package

  • Adopt When:

    • Your team uses Laravel + Blade and needs a scalable, maintainable icon system.
    • You’re building a design system or component library and want to standardize on Heroicons (already used by Tailwind, Laravel Jetstream, etc.).
    • You prioritize developer velocity over custom icon solutions (e.g., SVG sprites, icon fonts).
    • Your app requires consistent, high-quality icons across platforms (web, mobile web) with multiple styles (outline, solid, mini, micro).
    • You’re using Tailwind CSS and want seamless integration with Heroicons’ pre-styled classes (e.g., w-6 h-6 text-blue-500).
  • Look Elsewhere If:

    • You need animated icons or complex icon interactions (consider libraries like Heroicons + Alpine.js or Lottie).
    • Your app requires custom icon sets or brand-specific illustrations (use SVG sprites or tools like Figma + Laravel Mix).
    • You’re not using Laravel/Blade (e.g., React/Vue/Next.js; use heroicons/react or similar).
    • You need icon search/filtering (consider Iconify or Tabler Icons).
    • Your team prefers icon fonts (e.g., Font Awesome) for broader compatibility (though SVGs are generally preferred for performance).

How to Pitch It (Stakeholders)

For Executives:

*"This package lets us adopt Heroicons—the same icon set used by Tailwind CSS, Laravel Jetstream, and industry leaders like Vercel and Stripe—with zero upfront design work. By standardizing on this library, we’ll:

  • Cut UI development time by 30% (no more manually embedding SVGs or hunting for icons).
  • Ensure visual consistency across all products, reducing support tickets about ‘inconsistent buttons’.
  • Future-proof our design system with active maintenance and Laravel 13 support.
  • Align with Tailwind CSS (if used), lowering frontend onboarding friction for new hires. Cost: Free (MIT license). ROI: Faster launches, fewer bugs, and a polished user experience."*

For Engineering Teams:

*"Blade Heroicons solves our icon integration pain points:

  • One-line usage: <x-heroicon-o-arrow-left class="text-blue-500"/> replaces manual SVG pasting.
  • Blade component caching: Reduces runtime overhead from repeated SVG compilation.
  • Tailwind-ready: Icons include pre-styled classes (e.g., w-6 h-6) for instant consistency.
  • Raw SVG assets: Publish icons as assets for <img> tags in performance-critical paths.
  • No build step: Works out-of-the-box with Laravel’s Blade compiler. Trade-offs: Limited to Heroicons’ set (but it’s comprehensive). For custom icons, we’d still use SVG sprites. Recommendation: Adopt for all new projects; migrate existing apps where icon consistency is a pain point."*

For Designers:

*"This gives you full control over Heroicons in Laravel without handing off to devs:

  • Preview all icons at heroicons.com before implementation.
  • Consistent styling: Icons match Tailwind’s design language (if used).
  • Multiple styles: Outline, solid, mini, and micro variants for every use case.
  • No font licensing: SVGs are resolution-independent and performant. Ask devs to: Publish the raw SVG assets (php artisan vendor:publish --tag=blade-heroicons) for direct <img> usage in Figma prototypes or marketing sites."*
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