A closing call to action where the buttons lean toward the cursor, their labels follow with a softer lag and a light spot tracks the pointer inside each button. Also exports a Magnetic wrapper you can put around any element. Stays still on touch screens and under reduced motion.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { MagneticCta } from "@/components/hyperblur-pro/magnetic-cta"
<MagneticCta />
<Magnetic strength={0.3}><button>Any element</button></Magnetic>| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Ready when you are" | Small pill above the title. |
| title | string | "Make every click feel inevitable." | Main heading. |
| subtitle | string | "Buttons that lean toward the cursor..." | Supporting paragraph. |
| actions | { label: string; href?: string; variant?: "primary" | "ghost" }[] | [Start building, Book a demo] | Buttons rendered with the magnetic pull. |
| accent | string | "#7c5cff" | Accent color for the primary button and the glow. |
| strength | number | 0.3 | How far the buttons travel toward the cursor. 0 disables the pull. |
Source code is included in Standard and above