PHP code example of codewithdennis / filament-lucide-icons
1. Go to this page and download the library: Download codewithdennis/filament-lucide-icons library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
codewithdennis / filament-lucide-icons example snippets
use CodeWithDennis\FilamentLucideIcons\Enums\LucideIcon;
public static function configure(Schema $schema): Schema
{
return $schema
->components([
Forms\Components\TextInput::make('email')
->prefixIcon(LucideIcon::Mail)
->email()
->
final class UserResource extends Resource
{
protected static string|BackedEnum|null $navigationIcon = LucideIcon::UsersRound;
}