shibro
Show the version of “A busy button keeps its size and its words”

States · SU-158

A busy button keeps its size and its words

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Cancel jumps 88px right
  • Cancel stays put
  • Button width 128px → 40px, label gone
  • Button width 128px → 128px · “Saving…”

What changes

Bad
On save the button shrinks from 128px to a bare 40px spinner with no words, and Cancel lurches 88px to the right.
Good
The button stays 128px and reads “Saving…” beside the spinner, so Cancel and everything near it stays put.

The rules

  • SU-158

    A busy button keeps its size and its words. While saving, the button keeps its width, shows a spinner before the label ("Saving…"), ignores repeat clicks (aria-disabled for the duration) and keeps focus. Its neighbours don't move.