Skip to content

Button Library · Interactive

Submit

Click: sending, then a clear sent state.

Set type="submit" inside a form, then start the status from your own submit code.

States

  • Default

  • Hover

  • Active

  • Focus

Code

submit.html

<button class="btn-submit" type="button" data-busy="Sending…" data-done="Sent">
  <span>Send message</span>
</button>

More in Interactive