Laravel Packages

Laravel Blade Icons Stable Release

Published Updated
Laravel Blade Icons Stable Release image

Blade Icons is a package to easily make use of SVG icons in your Laravel Blade views. This week, creator Dries Vints released the first stable version (1.0.0), which is a huge milestone for this project!

With the release of 1.0 stable, here are some features added in the stable release since we covered the Blade UI kit launch of 0.1:

  • Caching - new caching command to cache icons
  • Default Icon Component - generic component to render blade icons
  • Filesystem Disks - load icons from different filesystems
  • Fallback icons - define which icon to render (per set) when the icon cannot be found
  • Multiple Icon Paths - you can configure and organize icons in multiple paths
  • Default Attributes - define some attributes added to every icon

A much-requested feature for this package is a default icon component. Here's an example from the docs:

{{-- Camera icon component --}}
<x-icon-camera/>
 
{{-- Default icon component rendering the camera component --}}
<x-icon name="camera"/>

Along with Blade Icons 1.0.0, Blade Heroicons and Blade Zondicons were received a stable 1.0.0 release. This package requires Laravel 8 and either PHP 7.4 or 8.0.

Learn More

If you're already using Blade Icons package, this upgrade guide will help you to upgrade to 1.0 stable. If you want more detail about the features added to the 1.0.0 release, Dries wrote a blog post detailing what's new. Finally, you can learn more about this package, get full installation instructions, and view the source code.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
Critical PHP Security Release Coming Tomorrow (October 21) image

Critical PHP Security Release Coming Tomorrow (October 21)

Read article
Critical Token Guard Auth Bypass Fixed in Laravel 13.29 and 12.68 image

Critical Token Guard Auth Bypass Fixed in Laravel 13.29 and 12.68

Read article
Run Large PlanetScale Queries in Laravel With DB::olap() image

Run Large PlanetScale Queries in Laravel With DB::olap()

Read article
Fluent Rule Builders for All Laravel Validation Rules image

Fluent Rule Builders for All Laravel Validation Rules

Read article
Laravel URL AI Transformer: Extract Structured Data From URLs image

Laravel URL AI Transformer: Extract Structured Data From URLs

Read article
Rule Builders for Every Validation Rule in Laravel 13.36 image

Rule Builders for Every Validation Rule in Laravel 13.36

Read article