https://github.com/poldixd/laravel-feather
Use Feather Icons as a Blade include() or Blade Component in your Laravel application
https://github.com/poldixd/laravel-feather
composer-package feather feather-icons icons laravel svg svg-icons
Last synced: about 1 year ago
JSON representation
Use Feather Icons as a Blade include() or Blade Component in your Laravel application
- Host: GitHub
- URL: https://github.com/poldixd/laravel-feather
- Owner: poldixd
- License: mit
- Created: 2020-01-27T09:32:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-04T09:47:42.000Z (over 1 year ago)
- Last Synced: 2025-04-15T01:08:12.142Z (about 1 year ago)
- Topics: composer-package, feather, feather-icons, icons, laravel, svg, svg-icons
- Language: Blade
- Homepage: https://packagist.org/packages/poldixd/laravel-feather
- Size: 151 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# poldixd/laravel-feather
Use [Feather Icons](https://feathericons.com) as a Blade `include()` or [Blade Component](https://laravel.com/docs/7.x/blade#components) in your Laravel 9.x or 10.x application. This Package uses [Feather 4.28.0](https://github.com/feathericons/feather/releases/tag/v4.28.0).
## Installation
Simply require poldixd/larave-feather through Composer:
```bash
composer require poldixd/laravel-feather
```
## Usage
Include the icon like a Blade template in your view:
```php+HTML
@include('feather::airplay')
```
Optional you can use Blade Components if you're using [laravel](https://laravel.com) greater than 7.x.
```php+HTML
```
You can find a list of all icons on [this](https://feathericons.com/) website.
### Using CSS Classes
You can include the icons with css classes.
```php+HTML
@include('feather::airplay', ['class' => 'my-awesome-class my-second-class'])
```
### Using Style attributes
```php+HTML
@include('feather::airplay', ['style' => 'color: red'])
```
## License
poldixd/laravel-feather is licensed under the [MIT License](https://github.com/poldixd/laravel-feather/blob/master/LICENSE). The icons in this code are from [Feather](https://github.com/feathericons/feather). It is also licensed under the [MIT License](https://github.com/feathericons/feather/blob/master/LICENSE).