// DOKUMENTATION ICON PICKER 4.x

Search result views

Out of the box we provide three different views for the search results, so you can choose the one that fits the amount of icons you offer and the space you have.

Grid view

This is the default. Icons are shown in a grid with their name underneath.

IconPicker::make('icon')
    ->gridSearchResults();

Grid view

List view

Icons are rendered in a list together with their name.

IconPicker::make('icon')
    ->listSearchResults();

List view

Icons view

Icons are rendered in a compact grid with only the icons visible. This one fits the most icons on screen, so it's a good choice for large sets.

By default each icon has a tooltip with its name. You can turn the tooltips off if you don't want them:

IconPicker::make('icon')
    ->iconsSearchResults();      // With tooltips
    
IconPicker::make('icon')
    ->iconsSearchResults(false); // Without tooltips

Icons view

Using your own view

If none of the three fit, you can render the results yourself. Please see custom search results view.

guava/filament-icon-picker 709K Installationen · 163 Sterne
// COOKIES

Ein paar Cookies halten die Seite am Laufen; andere merken sich Einstellungen oder zählen Besuche. Sie entscheiden.

Cookie-Richtlinie