Hand a section to your agent
Last updated: October 17, 2026
What Copy for Cursor puts on the clipboard, in order, and how to paste the whole thing into Cursor or Claude.
What you'll end with
The agent has the files and the install line from one copy, and a page path to mount the section on.
Components are free to copy with no account, plus 1 video prompt copy per Japan calendar month. Blocks and Templates need a 30-Day Pass, Lifetime, or Plus.
Clipboard order
Top to bottom. Do not trim it.
Project assumptions: shadcn structure, Tailwind, TypeScript. @/generation/lib/utils is already rewritten to @/lib/utils
Live visual source of truth: https://design-layer.com/part/ plus the id
Component title, id, and kind (hero, section, motion, or navigation)
Files. The first line inside each code fence is the repo path. The rest is the source. Extra files under src/generation/ui/ are included when the section imports them
Install NPM dependencies. A section with no extra packages says none are required beyond React, Tailwind, and cn
Implementation guidelines: write the files, install dependencies, keep image URLs, match the live preview, and do not kill scroll-linked motion
Step 1: Copy on the component page
Press Copy for Cursor on the section you chose. Components need no account. Blocks and Templates need a 30-Day Pass, Lifetime, or Plus.
Step 2: Paste everything and name the file
Paste the full clipboard into Cursor Agent or Claude, then name the file that should mount the section.
Use this copy as-is.
Add the section to app/(marketing)/page.tsx.
Write each file to the path on the first line of its code fence, and run Install NPM dependencies.
Open the Live visual source of truth URL and match its motion, type, and spacing.Step 3: What the agent does
It writes the files, runs the npm install line, and mounts the section from the file you named. App Router or Pages Router follows the repository that is open.
Image and media URLs stay on the DesignLayer URLs from the copy. Replace a URL only when that URL does not load.
Swap in lucide-react icons only when the copied files already import lucide-react.
Skip the paste
The same bundle can be fetched from the editor. Connect with Connect Cursor and Claude Code, then ask with Fetch a component from chat. That fetch follows the same rules as this button.