Skip to content

Import AI-Generated HTML Pages to Figma

html file in cursor, import into figma

Two methods to import AI-Generated HTML pages

Here we’ll focus on the first method. Open the HTML to Figma plugin, click AI-Generated HTML Pages and follow the prompts, as shown below:

Interface for importing AI-generated HTML pages

If there are .css, .js, images, or other files alongside the HTML file

What you see might look like this: HTML file with css and js files

In this case, click the Select Folder button and choose the appropriate folder.

If the HTML page is a standalone .html file

What you see might look like this: In this case, click the Select File button and choose the appropriate .html file. Or, as suggested in the previous interface, you can directly drag the HTML file into the plugin to import it.

Then, you’ll see a popup where you can choose the viewport width for the imported page and whether to use Interactive Import.

Import settings interface

Interactive Import

Please use capture by HTML to Figma browser extension or Interactive Import in the following 2 situations:

  • When the page content you need to import requires clicking to view, such as popups
  • When the page content you need to import requires mouse hover to view, such as menus, button hover styles

For specific usage, please see the video below:

Common Issues

Interactive Import stuck in “Page preparing” status

Open this HTML file in the same browser that’s running the HTML to Figma Plugin. If it doesn’t open properly, it means the page depends on resources that your current browser environment cannot request. Please check your network connection or try using a VPN.

If you still have issues, please talk to us