This is a Magnetic Frame component that dynamically responds to the user’s cursor movement. When the mouse pointer hovers nearby, the frame smoothly gets attracted to it.
Made with Workshop
Build your own component with AI
The Magnetic Frame component adds a captivating interactive effect to your UI. Any element placed inside the frame becomes magnetically attracted to the user’s cursor when hovered over. As the mouse moves near the frame, the content subtly shifts and follows the pointer, creating a smooth, dynamic, and visually engaging experience.