A branded primary action button with an icon.
Examples
<.primary_button title="Continuar" />
<.primary_button small bg_class="bg-emerald-600 hover:bg-emerald-700 text-white" />Attributes
title(:string) - Defaults tonil.icon(:string) - Defaults to"hero-arrow-right".small(:boolean) - Defaults tofalse.gap(:string) - Defaults to"gap-1.5".class(:string) - Defaults tonil.bg_class(:string) - Background, text-colour, and hover classes. Defaults to"bg-blue-900 text-white hover:bg-blue-950".- Global attributes are accepted. Supports all globals plus:
["disabled", "phx-click", "phx-disable-with", "phx-target", "form", "type"].