Magnetic – shadcn/ui Component by fancy-ui | shadcnregistry
Magnetic
ui
A generic wrapper that pulls its child toward the pointer once it enters an activation field larger than the child's own box, and springs back to rest the instant the pointer leaves — a fine-pointer affordance with no touch or keyboard equivalent