Button

Buttons are used for actions with non-submit behavior, such as ‘cancel’. A button label should reflect the behavior that occurs when a user interacts with it.


The default style is secondary.


Use the link attribute for inline click triggers (open a modal, fire a phx-click) that should sit within text. For navigation, use <.a> instead.