UsePressRepeat โ shadcn/ui Hook by s7ui | shadcnregistry
UsePressRepeat
hook
Press-and-hold auto-repeat for scroll arrows and steppers: start(action) runs the action at once, again after a short delay and then on a steady beat until stop() or unmount; return false from the action to stop at the end of the range.