wirke / select-blade-icons
An attempt at making a wrapper for Sage nad ACF composer to use Blade Icons more effectivly
dev-master
2022-10-19 12:46 UTC
Requires
- php: ^7.4|^8.0
- blade-ui-kit/blade-icons: ^1.0
- illuminate/support: ^8.0|^9.0
Requires (Dev)
- orchestra/testbench: ^6.0|^7.0
- phpunit/phpunit: ^9.0
This package is not auto-updated.
Last update: 2025-04-17 01:07:44 UTC
README
This is a shell around BladeIcons for Wordpress and ACF-Composer to add a selector and a safer way to implement the components.
Installation
- Install the package:
$ composer require wirke/select-blade-icons
- Install BladeIcons and any of its "Icon Packages"
Usage
- Use the Selector by using "Wirke\SelectBladeIcons\IconSelector" where you declare your Fields and add the selector with
->addFields($this->get(IconSelector::class))
- In the coresponding blade file you then add our bladeicon component
<x-blade-icons :iconName="$icon" class="w-6 h-6 text-gray-200 "/>