Import from AI tools

Last updated

Import from AI using the browser extension

The html.to.design browser extension captures previews generated by AI tools right in your browser: no need to deploy the generated code to a live URL. On a supported tool, the extension finds the preview inside the page and its main button becomes Capture Preview (or Capture Artifact, Capture Canvas, Capture Slide, Capture Design, Capture Component), with the tool’s name under it.

The html.to.design extension popup on a v0 preview, with its main button reading Capture Preview and 'v0.app' under it.
On an AI tool, the extension captures just the generated preview.

AI tools detected automatically

AI slide decks

On a slide deck from Genspark, Claude (Design, chat and Cowork), Bolt or Manus, the main button becomes Capture Slide and the popup shows Slides:

  • All slides: imports the full deck, one Figma frame per slide.
  • Current slide: imports just the slide on screen.

Slides are captured at their own size, so the viewport and theme options are turned off.

On a beautiful.ai share link (beautiful.ai/player/…), Capture Slide imports the slide on screen, without the “made with beautiful.ai” watermark. Move to the next slide and capture again for more.

Step-by-step guides: Claude, Lovable, Genspark, and on the blog v0, Bolt, Figma Make, Gemini, ChatGPT and Replit.

AI coding agents and other tools

AI coding agents like Claude Code, OpenAI Codex, Gemini CLI and opencode serve what they build on a local URL (localhost): open it in your browser and click Capture Full Page. The same goes for any AI builder whose preview opens in its own tab, such as MiniMax Agent or Komposo. Or skip the browser: connect your agent to Figma with MCP.

Using an AI tool that isn’t detected? Let us know on Discord.

Example

Here is a short video showing how to import a design preview generated by Figma Make using the html.to.design browser extension:

Import HTML code from AI

If all you have is the HTML code, you can also import it to Figma layers with the html.to.design plugin.

There are two methods:

Option A: Paste your HTML code in the Editor tab.

Option B: Upload or drop a .zip file with your code in the File tab. This method is preferred if you’re importing from Google Stitch to Figma, for example.