unslopkit

Components / Buttons

Idle, working, done

One button through its three states: ready, working with a spinner, and done with a check.

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-button-states">
<div class="row">
  <button class="btn" type="button">Publish</button>
  <button class="btn busy" type="button" aria-busy="true"><span class="spin" aria-hidden="true"></span> Publishing</button>
  <button class="btn done" type="button"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg> Published</button>
</div>
</div>

More buttons

All 26
  • Full-width with a sub-line

  • Raised paper

  • Button with a menu

  • Arrow buttons and groups

  • Progress fill

    Icon tiles