PhoenixKitWeb.Components.Core.Button (phoenix_kit v1.6.15)
View SourceProvides a button UI component.
Summary
Functions
Renders a button.
Functions
Renders a button.
Examples
<.button>Send!</.button>
<.button phx-click="go" class="ml-2">Send!</.button>Attributes
type(:string) - Defaults tonil.class(:string) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["disabled", "form", "name", "value"].
Slots
inner_block(required)