A powerful and composable button component for your application.
Use the variant prop to change the visual style of the button.
The default button size works great for most cases, but here are some additional size options for unique situations.
Buttons with wire:click or type="submit" will automatically show a loading indicator and disable pointer events during network requests.
You can disable this behavior using :loading="false".
Append or prepend an icon button to another button to add additional functionality.
To display a button as an input, pass as="button" to the input component .
Make the height and width of a button equal. Flux does this automatically for icon-only buttons.
When using ghost or subtle button variants, you can use the inset prop to negate any invisible padding for better alignment.