Magnetic Hover Effect
- from @bundui
- by Toby Belhome
A Magnetic Button is a UI component designed to enhance user interaction. When a user's cursor or touch input approaches the button, it subtly moves towards the user, simulating the effect of magnetic attraction.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @bundui/magnetic-hover-effect-01Live preview
No live preview has been built for this component yet.
Registry dependencies1
- button
