// DOCS ICON PICKER 2.x
Outdated

You are reading the documentation for 2.x. The current version is 4.x.

View 4.x docs →

Installation

Requirements

  • PHP 8.0 or higher
  • Filament 3.x

Installing the package

You can install the package via composer:

composer require guava/filament-icon-picker:"^2.0"

Configuration

You can publish the config file with:

php artisan vendor:publish --tag="filament-icon-picker-config"

It ends up in config/icon-picker.php and lets you set the defaults for every picker in your application:

return [
    'sets' => null,

    'columns' => 1,

    'layout' => \Guava\FilamentIconPicker\Layout::FLOATING,

    'cache' => [
        'enabled' => true,
        'duration' => '7 days',
    ],
];

Every one of these can also be set per field, which is covered in options.

NOTEWhen you install a new icon set and it doesn't show up in the picker, please clear your cache. Search results are cached for 7 days by default.

guava/filament-icon-picker 709K installs · 163 stars
// COOKIES

A few cookies keep the site working; others remember preferences or count visits. You choose what runs.

Cookie policy