UseDragGesture โ shadcn/ui Hook by tealmac | shadcnregistry
UseDragGesture
hook
Drag an element with the pointer and keep its x and y offset in state, with axis lock, bounds, tap tolerance, spring-back and arrow-key movement as a keyboard alternative.