Z
Zyeon UI

useLongPress · Zyeon UI

A press-and-hold gesture hook returning spreadable pointer/keyboard handlers plus isPressing and 0–1 progress — pointer-captured, cancels past a move tolerance, works with held Space/Enter.

npx shadcn@latest add @zyeon/use-long-press
Preview useLongPress on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useLongPress hasn't had its turn. Its source will show here once it has.