This package doesn't have any WireUI dependency.
WireUI Phosphor Icons is a library of icon components to empower your Laravel and Livewire application
development. Stop creating all icon components from scratch. Get all WireUI Phosphor Icons for free.
Phosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really. — Development
made by
Phosphor Icons.
Requirements
First, you need to install the package via Composer.
1composer require wireui/phosphoricons
Publish the configuration and views. It's optional.
1php artisan vendor:publish --tag="wireui.phosphoricons.config"2php artisan vendor:publish --tag="wireui.phosphoricons.views"
You can find a list of all icons and variants on the Phosphor Icons website.
Available variants:
- thin
- light
- fill
- regular
- duotone
- bold
1<x-icon name="user" />2<x-icon name="user" duotone />3<x-icon name="user" variant="fill" />4<x-icon class="w-5 h-5 text-teal-600" name="user" />5 6<x-phosphor.icons::regular.user />7<x-phosphor.icons::bold.user class="w-5 h-5" />