Skip to content

Super simple but elegant Laravel blade-based UI components using TailwindCSS and vanilla Javascript

License

Notifications You must be signed in to change notification settings

RocketsLab/bladewind

 
 

Repository files navigation

License


BladewindUI is a collection of UI components written purely using TailwindCSS, Laravel blade templates and Vanilla Javascript. These components are super simple to use and come with different levels of customization.

Installation

The full installatioin guide is available on https://bladewindui.com.

BladewindUI is very specific to Laravel since all components are written purely using blade syntax. To install in your Laravel project simply run this command in the terminal at the root of your project.

composer require mkocansey/bladewind

Next you need to publish the package assets by running this command, still in the terminal at the root of your Laravel project.


php artisan vendor:publish --provider="Mkocansey\Bladewind\BladewindServiceProvider" --tag=assets --force

Now include the BladewindUI css file in the <head> of your pages. This should ideally be done in the layouts file your app pages extend from.


<link href="{{ asset('bladewind/css/animate.min.css') }}" rel="stylesheet" />
<link href="{{ asset('bladewind/css/bladewind-ui.min.css') }}" rel="stylesheet" />

Finally, include the BladewindUI javascript file anywhere before the closing of the </body> tag of your pages. Again, this should ideally be done in the layouts file your app's pages extend from.


<script src="{{ asset('bladewind/js/helpers.js') }}" type="text/javascript"></script>

You are now ready to start using any of the BladewindUI components in your application


<x-bladewind.button> Save User </x-bladewind.button>



Components Include



Check out the full documentation on https://bladewindui.com.



Questions and General Info

If you want to ask anything at all or report a security vulnerability, please e-mail mike@bladewindui.com or tweet @bladewindui


License

BladewindUI components is open-sourced software licensed under the MIT license.

About

Super simple but elegant Laravel blade-based UI components using TailwindCSS and vanilla Javascript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Blade 79.6%
  • JavaScript 12.1%
  • CSS 5.0%
  • PHP 3.3%