stria-icons / blade-icons
Stria Icons for Laravel Blade
Package info
github.com/twinpath/stria-icons-blade
Language:Blade
pkg:composer/stria-icons/blade-icons
v0.1.6
2026-06-10 10:41 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
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