Start the dev server (npm run dev or your project's command) and open the page in a browser. For a single component, use a component route or Storybook (localhost:6006).
Step 01
Use Case · AI Design
Last reviewed: May 2026
Cursor wrote the code; now design on top of it. Cursor builds real frontend code in your editor — run it, and the browser resolves it to computed CSS. Copy the rendered HTML, paste into html2design, and get native, editable Figma layers in under two minutes.
"Cursor to Figma" is the workflow of taking UI you built with Cursor — the AI-powered code editor — and importing it into Figma as editable design layers. Cursor writes real frontend code into your project; you run it like any app, and html2design reads the rendered DOM's computed styles. The framework Cursor used is irrelevant — only the rendered output matters.
Unlike hosted AI builders, Cursor produces code in a normal local project, so the path to Figma is the classic developer workflow: run the dev server, copy the rendered HTML, paste into html2design — then refine the result in Figma instead of rebuilding it by hand.
Cursor produces a normal local project that renders to a standard browser DOM.
Cursor edits files in your repo. Start the dev server and open the page; the browser computes every style, which is exactly what html2design reads — no special export.
React, Vue, Svelte, Astro, or plain HTML — html2design reads the rendered output, not the source, so anything Cursor writes imports the same way.
Because you paste HTML rather than a URL, it works on localhost:3000, Storybook, or pages behind login — no public deploy needed.
Inline SVG icons import as native Figma vector paths — crisp and editable at any scale, never rasterized.
Four steps, under two minutes.
Step 01
Start the dev server (npm run dev or your project's command) and open the page in a browser. For a single component, use a component route or Storybook (localhost:6006).
Step 02
Open DevTools (F12), Elements panel, right-click the root element (or the component's wrapper), choose Copy > Copy outerHTML. Let fonts and images finish loading first.
Step 03
In Figma, run the HTML to Figma plugin, paste the HTML, and click Generate. Each element's computed style becomes a native Figma object — text, fills, SVG vector paths, and measured frames.
Step 04
You now have a pixel-accurate, editable frame of the UI Cursor coded. Refine it, align it to your design system, and prepare it for review and handoff.
Native Figma objects mirroring the rendered output — not a screenshot.
Copy becomes real Figma text layers with computed font, size, weight, line height, and color.
Backgrounds, borders, shadows, and gradients resolve to precise computed values as Figma fills, strokes, and effects.
Inline SVG icons import as editable Figma vector paths, sharp at any scale.
Layout, spacing, and sizing recreated as measured Figma frames matching the browser render.
Run the project Cursor built, open the page in a browser, open DevTools, right-click the root element, Copy > Copy outerHTML, and paste into the html2design plugin. The rendered output transfers as pixel-accurate, editable Figma layers.
No. html2design reads the rendered DOM and computed styles, not the source, so React, Vue, Svelte, or plain HTML all import the same way.
Yes — right-click the component's root element (or use Storybook) and copy its outerHTML instead of the whole body.
Yes — native editable text, vector paths, image fills, and measured frames. Not a screenshot.
AI Tool
Claude Artifacts and Claude Code output into editable Figma layers.
AI Tool
Vercel v0's React + Tailwind output into editable Figma layers.
Use Case
Convert rendered React components into native Figma layers.
Use Case
Import Storybook stories — no public URL required.
Pillar Guide
The definitive HTML to Figma guide — every framework and method.
Compare
How html2design compares to screenshot tools and extensions.
Install html2design from the Figma Community — free to try, no Chrome extension, no manual rebuild.
Install Free on Figma CommunityFree to try · $12/mo to unlock all features