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

This package is not auto-updated.

Last update: 2024-04-17 20:22:48 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

  1. Install the package:
    $ composer require wirke/select-blade-icons
  2. Install BladeIcons and any of its "Icon Packages"

Usage

  1. Use the Selector by using "Wirke\SelectBladeIcons\IconSelector" where you declare your Fields and add the selector with
    ->addFields($this->get(IconSelector::class))
  2. In the coresponding blade file you then add our bladeicon component
    <x-blade-icons :iconName="$icon" class="w-6 h-6 text-gray-200 "/>