Buttons

<x::button>

PropertyDescription
textOption way to pass button text as an attribute, if used the tag can self-close.
ghostUses the color for text and border, background is transparent.
urlWhere the button should link to. If passed, the button will be rendered as an <a> tag.
<x::button
    class:="bg-sky-500 text-white"
    onclick:="alert('Message Received!')"
>
    Click Me!
</x::button>

<x::button
    ghost
    class:="text-sky-600"
    onclick:="alert('Message Received!')"
>
    Click Me!
</x::button>