cooper/blade-blueprint-icons
最新稳定版本:v0.0.4
Composer 安装命令:
composer require cooper/blade-blueprint-icons
包简介
A package to easily make use of Blueprint Icons in your Laravel Blade views.
README 文档
README
A package to easily make use of Blueprint Icons in your Laravel Blade views.
For a full list of available icons see the SVG directory or preview them at Blueprint icons.
Requirements
- PHP 8.0 or higher
- Laravel 9.0 or higher
Installation
composer require cooper/blade-blueprint-icons
Usage
Icons can be used a self-closing Blade components which will be compiled to SVG icons:
<x-blueprint-add/>
You can also pass classes to your icon components:
<x-blueprint-add class="text-primary"/>
And even use inline styles:
<x-blueprint-add style="color: #666"/>
Raw SVG Icons
If you want to use the raw SVG icons as assets, you can publish them using:
php artisan vendor:publish --tag=blade-blueprint-icons --force
Then use them in your views like:
<img src="{{ asset('vendor/blade-blueprint-icons/add.svg') }}" width="10" height="10"/>
Blade Icons
Blade IconPark Icons uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality.
Maintainers
Blade Blueprint Icons is developed and maintained by Blueprint.
Blade Icons is developed and maintained by Dries Vints.
License
Blade IconPark Icons is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-01