maartenpaauw / undraw
Laravel Blade components for Undraw illustrations
Installs: 1 659
Dependents: 2
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 3
Open Issues: 3
Language:Blade
Requires
- illuminate/support: ^8.0|^9.0
- illuminate/view: ^8.0|^9.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- guzzlehttp/guzzle: ^6.5|^7.0
- orchestra/testbench: ^6.24|^7.0
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2022-07-14 08:37:29 UTC
README
This package will let you render Undraw.co illustrations without a hassle!
Installation
You can install the package via composer:
composer require maartenpaauw/undraw
Usage
The following code will render the Undraw.co "Cooking" illustration as SVG.
<x-undraw illustration="cooking" />
This component can also be rendered with;
<x-cooking />
The primary color can be changed as well;
<x-cooking color="#F9A826" />
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Undraw.co - for the amazing illustrations.
- Maarten Paauw
- All Contributors
License
The MIT License (MIT). Please see License File for more information.