Magnetic
NewLeans toward the pointer, with its label leaning further
$ npx @hritik-sharmaa/repeat-ui add button-magnetic- Category
- Button
- Added
- Nov 1, 2026
- Version
- 1.0.0
- Packages
- motion
- Flavors
- TS · JS · Tailwind · CSS
Live preview
Customize
0.35
999px
Installation
Run the command
Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.
$ npx @hritik-sharmaa/repeat-ui add button-magnetic --variant ts-tailwindUse it
The files are in components/repeat-ui/button-magnetic/.
import ButtonMagnetic from "@/components/repeat-ui/button-magnetic/preview"; export default function Page() { return <ButtonMagnetic />; }