maartenpaauw/undraw

Laravel Blade components for Undraw illustrations


Keywords
blade-components, laravel-components, undraw, undraw-illustrations, undraw-components, laravel
License
MIT

Documentation

Undraw.co Laravel Blade components

PHP Tests Total Downloads Latest Version on Packagist

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

Development

Generate the illustration components with:

composer download
composer generate-classes
composer generate-service-provider

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.