Summary
Read-only table column for displaying blade-icons values stored by IconPickerField. Renders the SVG icon with optional human label, technical name, semantic color, and size tokens shared with the flex-field design system.Import alias: Filament ships its ownIconColumn. When you need both, alias this class:use Bjanczak\FilamentFlexFields\Filament\Tables\Columns\IconColumn as FlexIconColumn;
Basic usage
Standard Icon
Labeled Status Icon
Configuration API
All methods acceptClosure unless noted.
Real-world examples
Navigation Table
Debug / Developer View
Performance
- SVG Cache: Server-side SVG HTML is cached to prevent repeated disk lookups.
- Render Cache: Per-request caching of rendered column HTML.
- Lazy CSS: Stylesheets are loaded only when the column renders.
Playground
/admin/flex-fields-playground/icon-column
See Playground for setup.