Skip to content

Button Library · Interactive

Loading

Click: a spinner runs while the work runs.

States

  • Default

  • Hover

  • Active

  • Focus

Code

loading.html

<button class="btn-loading" type="button" data-busy="Saving…">
  <span>Save changes</span>
</button>

More in Interactive