This is a custom icon pack to be used in Filament v4. You can use it to add Phosphor icons everywhere :)
You can install the package via composer:
composer require schmeits/filament-4-phosphor-icons
Forms\Components\TextInput::make('name') ->required() ->prefixIcon(Phosphor::Smiley)
Check out the Phosphor icons on their website Phosphor Icons to find the icon you want to use.gh
The package comes with the following weights you can use:
enum PhosphorWeight: string{ case Thin = 'thin'; case Light = 'light'; case Regular = 'regular'; case Bold = 'bold'; case Fill = 'fill'; case Duotone = 'duotone';}
You can use the weights in the same way as the icons:
->prefixIcon(Phosphor::Smiley->getIconForWeight(PhosphorWeight::Duotone))
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.
Tally is an entrepreneur, husband, and father of three beautiful children! With his deep expertise in web development, particularly in Laravel and Filament, he has established and successfully runs his own company, Schmeits websolutions. He is committed to staying up-to-date with the latest technologies and tools, such as Filament, to deliver top-notch services to his clients.