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: July 2026
Copilot wrote the code; now inspect it in Figma. Run the interface in a browser, then import copied HTML or an accessible preview as a Pixel reference or as best-effort editable layers for supported content.
"GitHub Copilot to Figma" is the workflow of taking UI you built with GitHub Copilot (in VS Code, JetBrains, or via Copilot Workspace) and importing it into Figma as editable design layers. Copilot writes real frontend code into your project — React, Vue, Svelte, plain HTML — and you run it like any app. html2design reads the rendered DOM's computed styles. The framework Copilot used is irrelevant; only the rendered output matters.
Copilot is exceptional at "code → working UI fast." html2design closes the loop the other direction — code → editable Figma — so designers can refine, align to a design system, and hand off the Copilot draft with their existing tooling rather than rebuilding it by hand.
Built on a browser-rendered DOM — exactly what the import approach reads.
Copilot 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, plain HTML — html2design reads the rendered output, not the source, so the language/framework Copilot picks does not matter.
Because you paste HTML rather than a URL, it works on localhost:3000, Storybook, or pages behind login — no public deploy needed.
Copilot Workspace turns a GitHub issue plan into working code. Run the resulting branch locally, open the page, copy the outerHTML — you've gone from issue to editable Figma frame in a single sitting.
Four steps, followed by review and cleanup.
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 wrapper), choose Copy > Copy outerHTML.
Step 03
In Figma, run the HTML to Figma plugin, paste, click Generate. The plugin maps supported elements and styles to native Figma objects.
Step 04
You now have a best-effort editable frame of what Copilot built. 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.
Supported copy becomes Figma text layers; unavailable fonts and browser/Figma metric differences may require cleanup.
Backgrounds, borders, shadows, gradients resolve to supported computed values from your CSS / styles.
Compatible inline SVG content can become editable Figma vectors; complex or external assets may need cleanup.
Supported layout, spacing, and sizing become measured Figma frames that should be compared with the browser source.
Run the project Copilot wrote (e.g., npm run dev), open the page in a browser, open DevTools, right-click the root element, Copy > Copy outerHTML, and paste into the html2design Figma plugin. The rendered output transfers as best-effort editable Figma layers.
No. html2design reads the rendered DOM and computed styles, not the source, so React, Vue, Svelte, plain HTML — all import the same way.
Yes. Copilot Workspace turns a plan into branched code. Check the branch out, run it locally, open the page, and copy the rendered HTML. html2design only needs the rendered HTML — Workspace's mechanism is invisible at the browser layer.
Yes — right-click the component's root element in DevTools (or use a Storybook story) and copy its outerHTML instead of the whole body.
AI Tool
Convert UI built with the Cursor AI editor into editable Figma layers.
AI Tool
Cascade-built UI from Codeium's AI IDE into editable Figma layers.
AI Tool
Claude Artifacts and Claude Code output into editable Figma layers.
Use Case
Convert rendered React components into native Figma layers.
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