B
Bollard UI

Hold to Confirm · Bollard UI

Button that runs onConfirm only after a full press-and-hold by mouse, touch or keyboard, rewinds on early release, shows "Hold to confirm" on a plain click, and lets users who can't hold (screen reader, switch access) confirm with a second press.

npx shadcn@latest add @bollard/hold-to-confirm
Loading the source for hold-to-confirm…

hold-to-confirm