Introduction
DesignLayer is a set of motion-first React components and blocks. Preview them live, then copy them into your project or AI agent.
Magnetic CTA Button
View detailsHow it works
- Preview it live.
- Copy the code, or the prompt for Cursor / Claude Code.
- Paste it into your project.
Using a copied component
import { MagneticCtaButton } from "@/generation/ui/magnetic-cta-button";
export default function Page() {
return (
<main className="grid min-h-screen place-items-center">
<MagneticCtaButton href="/signup">Get started</MagneticCtaButton>
</main>
);
}