Dev Design Library

CooldownButton

A button that locks itself behind a draining radial timer after each click to stop spam and double-submits, taunting you while you wait.

CooldownButton preview
Library
Evil Buttons
Framework
React
Type
ui
License
Apache-2.0
Dependencies
clsx, motion, tailwind-merge
Files
  • components/evil-buttons/cooldown-button.tsx
  • lib/utils.ts
Source
https://github.com/radiumcoders/Evil-Buttons

Categories

More from Evil Buttons