The button component provides a simple prefabricated button. It only comes in one color for now.
The button component requires no additional imports.
To use the button component, follow these steps.
<x-ui::button type="submit">
<!--
Your content goes here
-->
</x-ui::button>
| Name | Type | Purpose | Default value | Example value |
|---|---|---|---|---|
| $type | string, required | Set the type of the button (submit, button, reset) | - | submit |
| DEFAULT | any | You may use all default HTML attributes aswell | - | id="myButton" |
How can I help you explore Laravel packages today?