akhaled/laravel-hybrid-components

Use Laravel components built with Tailwind and Livewire

0.0.6-beta 2020-12-22 14:22 UTC

This package is auto-updated.

Last update: 2024-04-22 21:44:20 UTC


README

-- UNDER CONSTRUCTION --

Laravel components build with Tailwind, AlpineJS and Livewire

Buttons

Base button

<x-hybrid-button>
    Delete
</x-hybrid-button>

Modal

Base modal

<x-hybrid-modal times="true" cancel="true" confirm="false" open-on-init="false">
    <x-hybrid-button color="green">
        Open modal
    </x-hybrid-button>

    <x-slot name="title">
        My first modal
    </x-slot>

    <x-slot name="content">
        Content goes here
    </x-slot>

    <x-slot name="footer">
        <x-hybrid-button color="orange">Another action button</x-hybrid-button>
    </x-slot>
</x-hybrid-modal>