<button class="btn btn-primary btn--loading " type="button" disabled>
<span class="btn__inner">
<span class="btn__text">Sign Up</span>
<span class="loader">
<span class="loader__dot"></span>
<span class="loader__dot"></span>
<span class="loader__dot"></span>
</span>
</span>
</button>
{{> @button }}
{
"text": "Sign Up",
"className": "btn-primary btn--loading",
"type": "button",
"disabled": true,
"loading": true
}
Use a Primary Button for the principle call to action, for example, to submit a form. If there are multiple actions that a user can take, only one of them should be expressed with a primary button.