Magnetic Button from the Buttons group of Depth UI.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | Button label or content. | |
| strength | number | 0.4 | How far the button follows the pointer (0 to 1). |
| reach | number | 28 | Extra hit area around the button, in px. |