stria-icons/blade-icons
最新稳定版本:v0.1.2
Composer 安装命令:
composer require stria-icons/blade-icons
包简介
Stria Icons for Laravel Blade
README 文档
README
Laravel Blade components wrapper for Stria Icons.
Stria is a unified visual language of pixel-perfect SVG icons, built with absolute geometric precision and zero dependency bloat.
Installation
Install the package via Composer:
composer require stria-icons/blade-icons
Optionally, you can publish the SVG views to your application resources if you want local customizations:
php artisan vendor:publish --tag=stria-icons
Usage
1. Blade Component Syntax
You can use the icons as self-closing Blade components:
<x-stria-solid-user class="w-5 h-5 text-gray-600" /> <x-stria-regular-home class="w-6 h-6 text-indigo-500" /> <x-stria-light-settings class="w-8 h-8" />
2. Blade Directive Syntax
Or you can use the @stria custom directive:
@stria('user', 'solid', ['class' => 'w-5 h-5 text-gray-600']) @stria('home', 'regular', ['class' => 'w-6 h-6 text-indigo-500'])
Licenses
- Code (compiler toolchain, wrappers, build scripts): MIT License
- Icon designs (SVGs in
/iconsdirectory): CC BY 4.0
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-10