PHPackages                             guava/filament-icon-select-column - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. guava/filament-icon-select-column

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

guava/filament-icon-select-column
=================================

Adds a icon select (via dropdown) column to your filament tables.

3.0.0(3mo ago)447.8k↓27.8%4[1 issues](https://github.com/GuavaCZ/filament-icon-select-column/issues)[2 PRs](https://github.com/GuavaCZ/filament-icon-select-column/pulls)MITJavaScriptPHP ^8.2CI passing

Since Dec 1Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/GuavaCZ/filament-icon-select-column)[ Packagist](https://packagist.org/packages/guava/filament-icon-select-column)[ Docs](https://github.com/GuavaCZ/filament-icon-select-column)[ GitHub Sponsors](https://github.com/GuavaCZ)[ RSS](/packages/guava-filament-icon-select-column/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (11)Versions (11)Used By (0)

[![Filament Icon Select Column Banner](https://github.com/GuavaCZ/filament-icon-select-column/raw/main/docs/images/banner.jpg)](https://github.com/GuavaCZ/filament-icon-select-column/raw/main/docs/images/banner.jpg)

Adds a icon select (via dropdown) column to your filament tables.
=================================================================

[](#adds-a-icon-select-via-dropdown-column-to-your-filament-tables)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ebbfa85b318bd2f8c4a2b1b6cb334d39c2404bc94807cf3e871b418d39bb37ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67756176612f66696c616d656e742d69636f6e2d73656c6563742d636f6c756d6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guava/filament-icon-select-column)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e236f27b2a4b198d1e7b317f4b98fef265ce37ee817eebb0e36eccb6c01a5576/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6775617661435a2f66696c616d656e742d69636f6e2d73656c6563742d636f6c756d6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/guavaCZ/filament-icon-select-column/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a8116eb2c9de48a5410daaececd0098cbc1a4d14545939d745359292a65a2cfa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4775617661435a2f66696c616d656e742d69636f6e2d73656c6563742d636f6c756d6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/GuavaCZ/filament-icon-select-column/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/559f116507f19abcb3fc078ebf790d72ce4e97230d0842b452a66e7ccd77cedf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67756176612f66696c616d656e742d69636f6e2d73656c6563742d636f6c756d6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/guava/filament-icon-select-column)

This plugin adds an Icon Select Column to your filament tables.

Version compatibility
---------------------

[](#version-compatibility)

Filament versionPlugin version3.x1.x4.x2.x5.x3.xShowcase
--------

[](#showcase)

    Screen.Recording.2024-12-01.at.18.35.41.mov    [![Screenshot 1](https://github.com/GuavaCZ/filament-icon-select-column/raw/main/docs/images/screenshot_01.png)](https://github.com/GuavaCZ/filament-icon-select-column/raw/main/docs/images/screenshot_01.png)

Support us
----------

[](#support-us)

Your support is key to the continual advancement of our plugin. We appreciate every user who has contributed to our journey so far.

While our plugin is available for all to use, if you are utilizing it for commercial purposes and believe it adds significant value to your business, we kindly ask you to consider supporting us through GitHub Sponsors. This sponsorship will assist us in continuous development and maintenance to keep our plugin robust and up-to-date. Any amount you contribute will greatly help towards reaching our goals. Join us in making this plugin even better and driving further innovation.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require guava/filament-icon-select-column
```

Additionally, you **need** to have a custom filamen theme installed, otherwise you might encounter some styling issues.

Check the official [filament documentation here](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) to learn how to do that.

Then in your custom filament theme `theme.css` file, add the following line to build the CSS correctly:

```
@source '../../../../vendor/guava/filament-icon-select-column/resources/**/*';
```

Usage
-----

[](#usage)

In any filament table, simply use it like any other column.

The package works best in combination with backed enums, such as in the below example.

The enum should implement `HasLabel`, `HasIcon` and optionally `HasColor` as described in the filament documentation [here](https://filamentphp.com/docs/3.x/support/enums).

```
use Guava\FilamentIconSelectColumn\Tables\Columns\IconSelectColumn;

$table->columns([
    IconSelectColumn::make('state')
        ->options(MyStateEnum::class)
]);
```

Alternatively, you can pass an array of options and icons directly to the column:

```
$table->columns([
    IconSelectColumn::make('state')
        ->options([
            'opt1' => 'Option 1',
            'opt2' => 'Option 2',
        ])
        ->icons([
            'opt1' => 'heroicon-o-check',
            'opt2' => 'heroicon-o-x-mark',
        ])
]);
```

### Close on selection

[](#close-on-selection)

If you want the dropdown to automatically close after you select an option, you can use the `closeOnSelection` method:

```
use Guava\FilamentIconSelectColumn\Tables\Columns\IconSelectColumn;

IconSelectColumn::make('state')
    ->closeOnSelection()
    // ...
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Lukas Frey](https://github.com/GuavaCZ)
- [All Contributors](../../contributors)
- Spatie - Our package skeleton is a modified version of [Spatie's Package Skeleton](https://github.com/spatie/package-skeleton-laravel)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~59 days

Recently: every ~83 days

Total

8

Last Release

115d ago

Major Versions

1.1.2 → 2.0.0-beta.12025-06-12

2.0.0 → 3.0.02026-01-24

PHP version history (2 changes)1.0.0PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/42d872f5f47cd71cfd46c8fbd6ec77a6bfb46d6d9499b5e1f843eb407c07f737?d=identicon)[Skrypt](/maintainers/Skrypt)

---

Top Contributors

[![lukas-frey](https://avatars.githubusercontent.com/u/10926334?v=4)](https://github.com/lukas-frey "lukas-frey (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelGuavafilament-icon-select-column

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/guava-filament-icon-select-column/health.svg)

```
[![Health](https://phpackages.com/badges/guava-filament-icon-select-column/health.svg)](https://phpackages.com/packages/guava-filament-icon-select-column)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[guava/filament-clusters

Filament clusters allow you to cluster multiple fields into one visually.

15881.9k1](/packages/guava-filament-clusters)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
