Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Icons Laravel Package

tomatophp/filament-icons

View on GitHub
Deep Wiki
Context7

Screenshot

Filament Icons Picker & Provider

Latest Stable Version License Downloads Dependabot Updates PHP Code Styling Tests

Picker & Table Column & Icons Provider for FilamentPHP

Screenshots

Dark Input

Dark Input Select

Light Input

Light Input Select

Table Column

Installation

composer require tomatophp/filament-icons

after install use this command to cache all icons

php artisan filament-icons:install

Usage

use TomatoPHP\FilamentIcons\Components\IconPicker;

public static function form(Form $form): Form
{
    return $form
        ->schema([
            IconPicker::make('icon')
                ->default('heroicon-o-academic-cap')
                ->label('Icon'),
        ]);
}
use TomatoPHP\FilamentIcons\Components\IconColumn;

public static function table(Table $table): Table
{
    return $table
        ->columns([
            IconColumn::make('icon')
                ->label('Icon'),
        ]);
}

Add Custom Icons

you can add a custom icon lib by use this Facade class inside your provider like this

use TomatoPHP\FilamentIcons\Facades\FilamentIcons;

public function boot(): void
{
    FilamentIcons::register('boxicons')
        ->asset('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css')
        ->template('<i class="{ ICON }"></i>', 'text-xl', 'text-sm')
        ->icons([
            "bx bx-accessibility",
            "bx bx-add-to-queue",
            "bx bx-adjust"
        ])
        ->replace(['bx ', 'bxs-', 'bxl-', 'bx-'])
        ->save();
}

than you need to clear cache by use this command

php artisan filament-icons:clear

to cache it again use this command

php artisan filament-icons:install

you can try add Box Icons using this snap Box Icon Snap

Publish Assets

you can publish views file by use this command

php artisan vendor:publish --tag="filament-icons-views"

Publish Config

you can publish config file by use this command

php artisan vendor:publish --tag="filament-icons-config"

Other Filament Packages

Checkout our Awesome TomatoPHP

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope