This is a shell around BladeIcons for Wordpress and ACF-Composer to add a selector and a safer way to implement the components.
- Install the package:
$ composer require wirke/select-blade-icons
- Install BladeIcons and any of its "Icon Packages"
- 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 "/>