Carbon Icons
Quickly swap out all icons used by the Filament framework with Carbon icons.
Author:
Filafly
Documentation
A Carbon icon set implementation for Filament, providing the full set of Carbon icons integrated with Filament's interface.
#Installation
You can install the package via composer:
composer require filafly/filament-carbon-icons
After the package is installed, you must register the plugin in your Filament Panel provider:
use Filafly\Icons\Carbon\CarbonIcons;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(CarbonIcons::make());
}
#Icon Styles
Carbon icons comes in a single style although there are some instances of an icon having filled or outline variants. There are no explicit style sets so this package doesn't support any global style selection.
#Override Specific Icons
You can override specific icons or aliases using the following methods:
#Override Icon Aliases
Use overrideAlias() to change which icon is used for specific Filament component aliases:
CarbonIcons::make()
->overrideAlias(PanelsIconAlias::SIDEBAR_EXPAND_BUTTON, Carbon::ChevronRight)
->overrideAlias(TablesIconAlias::FILTER_INDICATOR, Carbon::Filter);
Or use overrideAliases() to override multiple aliases at once by passing an array:
CarbonIcons::make()
->overrideAliases([
PanelsIconAlias::SIDEBAR_EXPAND_BUTTON => Carbon::ChevronRight,
TablesIconAlias::FILTER_INDICATOR => Carbon::Filter,
ActionsIconAlias::CREATE_ACTION_BUTTON => Carbon::AddAlt,
]);
#Override Individual Icons
Use overrideIcon() to replace specific Carbon icons with different ones:
CarbonIcons::make()
->overrideIcon(Carbon::Search, Carbon::SearchAdvanced)
->overrideIcon(Carbon::Add, Carbon::AddAlt);
Or use overrideIcons() to override multiple icons at once by passing an array:
CarbonIcons::make()
->overrideIcons([
Carbon::Search->value => Carbon::SearchAdvanced,
Carbon::Add->value => Carbon::AddAlt,
Carbon::Edit->value => Carbon::EditOff,
]);
PHP arrays do not support enums as keys so
->valueis necessary if you want to reference the enum
These methods are particularly useful since Carbon icons come in a single style, allowing you to customize the icon set to better fit your application's needs.
#License
The MIT License (MIT). Please see License for more information.
The author
Filafly specializes in creating captivating themes and intuitive plugins for Filament. By focusing on aesthetics and user-friendly design, Filafly provides developers with seamless, high-impact solutions that elevate the look and feel of any Filament-powered project.
From the same author
Iconoir Icons
Transform your Filament interface with the elegant and modern Iconoir icon set, a perfect replacement for the default icons.
Author:
Filafly
Phosphor Icons
Quickly swap out all icons used by the Filament framework with Phosphor icons.
Author:
Filafly
Brisk Theme
A free theme for Filament that brings a simple, friendly design to your admin panels and forms. Carefully crafted to enhance your application's visual appeal while maintaining Filament's powerful functionality.
Author:
Filafly
Identity Column
A reusable identity column for Filament Tables and Infolists.
Author:
Filafly
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese