Icons in forms

Hi, is it possible to put a icon from hero icons in a selection so i can display it on my page?
Solution
I am just reading the docs, but u can define which BladeIconSets you wanna use:

IconPicker::make('icon')
    ->sets(['heroicons', 'fontawesome-solid']);


And it looks like the IconPicker is using full icon names:

IconPicker::make('icon')
    ->allowIcons(['heroicon-o-user', 'heroicon-o-users']);


So when u have a value bag in your existing entry in the column icon it will not work.
Was this page helpful?