postare / blade-mdi
Material Design Icons for Laravel Blade views.
Fund package maintenance!
renoki-co
Requires
- php: ^8.1
- blade-ui-kit/blade-icons: ^1.5
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- orchestra/testbench: ^7.0|^8.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-11-11 07:38:23 UTC
README
This repository is a fork of the original renoki-co/blade-mdi repository which is now archived and read-only. I have made the following modifications to the original code:
- Updated dependencies
- Added new icons
- Added fill=currentColor property to all icons (To make them work properly with Tailwind CSS)
Please note that this repository is not associated with the original repository or its maintainers. If you have any questions or suggestions, you can open an issue in this repository.
Blade MDI adds Material Design Icons as Laravel Blade UI Kit components. For more information regarding Material Design Icons, check https://materialdesignicons.com
🚀 Installation
You can install the package via composer:
composer require postare/blade-mdi
This is not required, but if you want to publish the SVGs locally, you can do so:
php artisan vendor:publish --provider="Postare\BladeMdi\BladeMdiServiceProvider" --tag="blade-mdi"
🙌 Usage
Using blade-ui-kit/blade-icons, all icons can be shown as directives:
<x-mdi-account />
For a complete list of icons, check https://materialdesignicons.com
or search for an icon here: Blade UI kit
Updating Icons
If you wish to contribute and update the latest icons, you can fork the repo, run download.sh
and submit a PR. What download.sh
does is to download the master
branch of https://github.com/Templarian/MaterialDesign and copy the distributables svgs to local svgs.
🐛 Testing
php vendor/bin/phpunit
🤝 Contributing
Please see CONTRIBUTING for details.
🔒 Security
If you discover any security related issues, please email inerba@gmail.com instead of using the issue tracker.
🎉 Credits
📄 License
The MIT License (MIT). Please see License File for more information.