Download the PHP package richarddobron/blade-google-material-symbols-600 without Composer
On this page you can find all versions of the php package richarddobron/blade-google-material-symbols-600. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download richarddobron/blade-google-material-symbols-600
More information about richarddobron/blade-google-material-symbols-600
Files in richarddobron/blade-google-material-symbols-600
Package blade-google-material-symbols-600
Short Description A package to easily make use of Googles Material Design Symbols (600) in your Laravel Blade views.
License MIT
Homepage https://github.com/richardDobron/blade-google-material-symbols-600
Informations about the package blade-google-material-symbols-600
Blade Google Material Symbols
A package to easily make use of Google's Material Symbols in your Laravel Blade views.
For a full list of available icons you can preview them at Material Symbols.
Requirements
- PHP 7.4 or higher
- Laravel 8.0 or higher
Installation
As Material Symbols offers a lot of different styles, you can choose a specific one by using the corresponding package.
Usage
Icons can be used as self-closing Blade components which will be compiled to SVG icons:
You can also pass classes to your icon components:
And even use inline styles:
Raw SVG Icons
If you want to use the raw SVG icons as assets, you can publish them using:
Configuration
Blade Material Symbols also offers the ability to use features from Blade Icons like default classes, default attributes, etc. If you'd like to configure these, publish the blade-gms.php config file:
Blade Icons
Blade Material Symbols uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality. We also recommend to enable icon caching with this library.
Then use them in your views like:
Maintainers
Blade Material Symbols is developed and maintained by Richard Dobroň.
License
Blade Material Symbols is open-sourced software licensed under the MIT license.