BT-04ButtonsUpdated, October 16, 2026
Magnet Button
A call-to-action button wrapped in a field of iron filings that align to its magnetic field and lean toward your cursor.
lucide-react
PROPay Button and more like it are in Kokonut UI Pro
Installation
Magnet Button is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/attract-button.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/attract-buttonUsage
import AttractButton from "@/components/kokonutui/attract-button";
export default function Example() {
return <AttractButton />;
}Dependencies
Built with React, Tailwind CSS and lucide-react.

