Blade component for button
The button with basic style and three different sizes! You can also use default HTML attributes for the button in this component!
No styles and colors!
<x-btn> Button </x-btn>
Result
Three sizes: sm, md, xl
<x-btn sm gray> Button </x-btn> <x-btn md gray> Button </x-btn> <x-btn xl gray> Button </x-btn>
Two colors: gray, light-gray
<x-btn md gray> Button </x-btn> <x-btn md dark-gray> Button </x-btn>
Normal tailwind css classes
<x-btn md class="bg-green-400 hover:bg-green-700 hover:shadow-sm transition"> Button </x-btn> <x-btn md class="bg-gradient-to-tr from-pink-800 to-red-500 text-white transition"> Button </x-btn>
Support this Project!
Claim Now!
Made with by Deva
Build with Laravel, TailwindCSS, Livewire and AlpineJS