New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

poldixd/laravel-feather

8,772 4
Install
composer require poldixd/laravel-feather
Latest Version:13.0.0
PHP:^8.2
Laravel:12 · 13
Older releases:5 – 11
License:MIT
Last Updated:Jun 28, 2026
Links: GitHub  ·  Packagist
Maintainer: poldixd

poldixd/laravel-feather

Use Feather Icons as a Blade include() or Blade component in your Laravel 12.x or 13.x application.

Installation

Require poldixd/laravel-feather through Composer:

composer require poldixd/laravel-feather

Usage

Include the icon like a Blade template in your view:

<!-- Your Blade view -->
@include('feather::airplay')

<!-- Output: -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon></svg>

You can also use Blade components:

<!-- Your Blade view -->
<x:feather-airplay />

<!-- Output: -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon></svg>

You can find a list of all icons on this website.

Using CSS Classes

You can include the icons with css classes.

<!-- Your Blade view -->
@include('feather::airplay', ['class' => 'my-awesome-class my-second-class'])

<!-- or as a blade component -->
<x:feather-airplay class="my-awesome-class my-second-class" />

<!-- Output: -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay my-awesome-class my-second-class"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon></svg>

Using Style attributes

<!-- Your Blade view -->
@include('feather::airplay', ['style' => 'color: red'])

<!-- or as a blade component -->
<x:feather-airplay style="color: red" />

<!-- Output: -->
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay" style="color: red"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon></svg>

License

poldixd/laravel-feather is licensed under the MIT License. The icons in this code are from Feather. It is also licensed under the MIT License.

Related Packages

philo/laravel-blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone...

690,749 355
wapmorgan/morphos-blade

Adds @plural, @name, @numeral, @ordinal and @money tags to Blade for Russian plu...

90,701 33
alexdover/blade-set

A very simple blade extension which allows variables to be set.

57,996 23
railroad/bladesora

A blade template package for musora.

57,117 1
styde/blade-pagination

Laravel's pagination with Blade templating support

14,436 70

Version History

Version Released PHP Laravel License
13.0.0 ^8.2 ^12.0|^13.0 MIT
12.0.0 ^8.2 ^10.0|^11.0|^12.0 MIT
11.0.0 ^8.2 ^10.0|^11.0 MIT
10.0.0 ^8.1 ^9.0|^10.0 MIT
9.1.0 ^8.0|^8.1 ^8.0|^9.0 MIT