daniellefence / icons
Fontawesome icon wrapper for Danielle Fence websites
Installs: 16
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
pkg:composer/daniellefence/icons
README
A Blade component package for rendering inline SVG icons in Laravel applications. Designed for flexibility and seamless integration with Tailwind CSS or other utility frameworks. Each icon is exposed as a Blade component and automatically accepts custom attributes (e.g., classes, roles, titles).
Installation
You can install the package via Composer:
composer require daniellefence/icons
Publish the icons if needed:
php artisan vendor:publish --tag=icons
Usage
Call any icon by passing its name as the icon prop to the x-df::icon Blade component:
<x-df::icon :icon="'chevron-down'" class="w-4 h-4 text-gray-600" />
All SVGs automatically inherit attributes:
Testing
Run the test suite using:
composer test
Contributing
Please read the CONTRIBUTING guide for details.
Security
If you discover a security vulnerability, please email sbarron@daniellefence.net instead of using the issue tracker.
Credits
Developed and maintained by the IT/Marketing department at Danielle Fence and Outdoor Living.
License
The MIT License (MIT). See License File for details.