orchid/blade-icons
Laravel package that adds Orchid icon set support to Blade Icons. Use Orchid icons as Blade components in your views, configure sets and prefixes, and render scalable SVG icons consistently across your app with the Blade Icons ecosystem.
public/ or resources/views/svg/).@icon) and configuration (e.g., default sizes, fallbacks). Extensibility requires manual SVG file management.@once directives or cache tags.mix or Vite build?@heroicons/vue).w-6 h-6).@icon directives.config/blade-icons.php for global defaults (e.g., default_size, fallback_icon).@stack). Use unique namespace prefixes if needed.composer require orchid/blade-icons.php artisan vendor:publish --tag=blade-icons-config.resources/views/svg/ or public/svg/.<img> tags with @icon('folder').@icon('user', ['class' => 'text-red-500']).@icon usage in development.<img> tags for unsupported use cases.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Missing SVG file | Broken icon (visual error) | Configure fallback_icon in config. |
| Malformed SVG | Rendering errors or layout shifts | Validate SVGs with a tool like SVGO. |
| Remote SVG blocked (CORS) | Icons fail to load | Use local SVGs or proxy remote assets. |
| Blade caching conflicts | Stale icons in production | Use @once or cache tags for dynamic icons. |
| Package abandonment | No future updates | Fork or migrate to a maintained alternative. |
@include/@component eases adoption.@icon syntax and config options.How can I help you explore Laravel packages today?