A simple UI kit for Laravel. Based on Tailwind and AlpineJS.
You can install the package via composer:
composer require elegantly/blade-kit
You can publish the config file with:
php artisan vendor:publish --tag="blade-kit-config"
This is the contents of the published config file:
use Elegantly\Kit\Ui\Base;
use Elegantly\Kit\Ui\Button;
use Elegantly\Kit\Ui\Input;
use Elegantly\Kit\Ui\Select;
use Elegantly\Kit\Ui\SwitchUi;
use Elegantly\Kit\Ui\Tag;
return [
'ui' => [
'base' => Base::class,
'button' => Button::class,
'input' => Input::class,
'select' => Select::class,
'tag' => Tag::class,
'switch' => SwitchUi::class,
],
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="blade-kit-views"
<x-kit::button class="rounded-md font-semibold" color="white">
Button
</x-kit::button>
See full documentation here.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.