Hold-to-confirm: a time-true linear fill while the pointer, Space or Enter is held, a quick no-overshoot drain when let go early, and a button that reveals its label on brand as the hold runs. Shared by Approval Card and PR Review.
npx shadcn@latest add https://eased.dev/r/eased-hold-core.jsoneased-hold-core