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 details

How it works

  1. Preview it live.
  2. Copy the code, or the prompt for Cursor / Claude Code.
  3. Paste it into your project.

Using a copied component

tsx
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>
  );
}

Continue to Installation