Renders a link (<a>
) that has the style of a button.
Use this component when you need to style a link to a different page or a specific section within the same page as a button.
To perform an action on the same page, including toggles and
revealing/hiding elements, you should always use a real button instead. See
button/1
, toggle_button/1
, and disclosure_button/1
.
<.button_link patch={~p"/confirm"}>
Confirm
</.button_link>
<.button_link navigate={~p”/registration”}> Registration </.button_link>