Button

Renders a button.

Read more Read less

Examples

<.button>Send!</.button>
<.button phx-click="go" class="ml-2">Send!</.button>
Attribute Type Documentation Default Value
type :string
class :any
variant :string the button variant style "default"
size :string "default"
rest :global
Required inner_block * :slot
[Multiple values]