Create a button with a character scramble effect on hover.
On mouse enter:
- Start a setInterval at 40ms
- Each tick: randomize characters that haven't resolved yet using a pool of alphanumeric + symbol chars
- Progressively resolve characters left-to-right as iteration count increases
- Stop when all characters match the original label
On mouse leave:
- Clear the interval and immediately restore the original label
No library dependencies.
Paste into Claude, ChatGPT, or Cursor. Edit YOUR_STACK /
YOUR_STYLING / YOUR_CONSTRAINTS before sending.