An open API service indexing awesome lists of open source software.

https://github.com/elegantengineeringtech/blade-kit

Laravel Blade UI kit
https://github.com/elegantengineeringtech/blade-kit

css laravel laravel-blade tailwindcss uikit

Last synced: about 2 months ago
JSON representation

Laravel Blade UI kit

Awesome Lists containing this project

README

          

# Laravel Blade UI Kit

[![Latest Version on Packagist](https://img.shields.io/packagist/v/elegantly/blade-kit.svg)](https://packagist.org/packages/elegantly/blade-kit)
[![Total Downloads](https://img.shields.io/packagist/dt/elegantly/blade-kit.svg)](https://packagist.org/packages/elegantly/blade-kit)
[![Tests](https://github.com/ElegantEngineeringTech/blade-kit/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ElegantEngineeringTech/blade-kit/actions/workflows/run-tests.yml)
[![Laravel Pint](https://github.com/ElegantEngineeringTech/blade-kit/actions/workflows/pint.yml/badge.svg)](https://github.com/ElegantEngineeringTech/blade-kit/actions/workflows/pint.yml)
[![PHPStan](https://github.com/ElegantEngineeringTech/blade-kit/actions/workflows/phpstan.yml/badge.svg)](https://github.com/ElegantEngineeringTech/blade-kit/actions/workflows/phpstan.yml)

A simple UI kit for Laravel. Based on Tailwind and AlpineJS.

## Installation

You can install the package via composer:

```bash
composer require elegantly/blade-kit
```

To make it work with tailwindcss v4, you must add the following lines to your `app.css`.

```css
@import "../../vendor/elegantly/blade-kit/resources/css/styles.css";
@source "../../vendor/elegantly/blade-kit/resources/views/**/*.blade.php";
```

You can publish the config file with:

```bash
php artisan vendor:publish --tag="blade-kit-config"
```

This is the contents of the published config file:

```php
return [
//
];
```

Optionally, you can publish the views using

```bash
php artisan vendor:publish --tag="blade-kit-views"
```

## Usage

```html
Button
```

## Testing

You can see all components by running:

```bash
bun run dev
```

and

```bash
composer serve
```

You can run test with:

```bash
composer test
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Quentin Gabriele](https://github.com/QuentinGab)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.