aryehraber/statamic-font-awesome
A Statamic addon by aryehraber that integrates Font Awesome, providing fieldtypes and template tags to easily select, manage, and render Font Awesome icons in your content and templates.
<x-icon name="..." />), so teams can ship a consistent icon set without building and maintaining their own SVG-inlining helper, sprite pipeline, or caching layer. The v2.2.0 addition of custom CSS classes on icon output removes the most common reason teams fork the package: you can now attach Tailwind/utility classes, state classes (text-red-500, group-hover:...), or your own BEM classes directly at the call site instead of wrapping every icon in an extra <span> or duplicating markup.Adopt when:
<x-icon name="heroicon-o-bell" />) are a genuine DX and consistency win over hand-copied SVG blobs.currentColor, no extra HTTP requests, no sprite-sheet build step) and want caching handled by the package rather than by your own pipeline.Look elsewhere or build your own when:
To executives: This is a small, low-risk dependency that standardizes how icons appear across the product. The latest release (v2.2.0) is a purely additive feature — you can now apply your own styling classes to any icon — so it improves design flexibility with no migration cost and no breaking changes. Net effect: less bespoke front-end plumbing, faster UI iteration, and continued low maintenance overhead. No budget ask; the decision is a "keep using it and adopt the new styling capability opportunistically" call.
To engineering: Upgrade is safe — the change adds an optional custom-classes parameter to icon rendering and preserves existing behavior. It removes the common workaround of wrapping icons in extra elements or forking the component just to apply Tailwind/state classes, which simplifies templates and reduces DOM noise. Recommend: bump the dependency, standardize the class-passing convention in the design-system docs, and use the change to delete any wrapper-span hacks currently in the codebase. Watch items: keep an eye on the package's maintenance cadence and pin versions; if we ever move icons out of Blade (e.g., into a JS component library), revisit whether this layer still earns its place.
How can I help you explore Laravel packages today?