Detect a press held for a set time with pointer or keyboard, with start, cancel and click handlers, and cancel when the pointer moves away.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-long-press.json"