# What Do Figma-to-HTML Plugins Actually Do?

Canonical: https://figment.so/blog/figma-to-html-plugin

A Figma-to-HTML plugin either exports code you host yourself or publishes a hosted page directly. Read the plugin's described workflow, not its name, to tell which, then test the output.

**A Figma-to-HTML plugin does one of two different jobs: it exports code files you host yourself, or it publishes a hosted page directly from the design without handing you a file.** Which one you need depends on whether a developer will maintain the result or you just need the design live. The checklist below shows what to verify before you trust either kind's output.

Figma's own tools do not blur this line. Its help article on [export formats for static designs](https://help.figma.com/hc/en-us/articles/13402894554519-Export-formats-and-settings-for-static-designs) lists PNG, JPG, SVG and PDF, and not HTML. Every plugin that claims to produce HTML does the translation itself, with its own assumptions about what a static frame becomes in a browser. [How to Export Figma to HTML](/blog/how-to-export-figma-to-html) covers the full menu, including Dev Mode and hand-coding.

## What kinds of Figma-to-HTML plugins exist?

| Kind | What you get | What you do with it | Example |
| --- | --- | --- | --- |
| Export-code plugin | Downloadable or copyable code files (HTML/CSS, or a framework's code) | Host it yourself, hand it to a developer, or keep iterating in your own repo | Anima |
| Publish-a-site plugin | A live, hosted page, with no file handed over | Nothing further to host; the plugin's service serves the page | A direct-publish plugin such as Figment |

A plugin can have HTML in its name and still not be an export-code plugin. Framer's official import plugin is called "Figma to HTML with Framer," and Framer Academy's instructions read: "Install and run the official Figma to HTML with Framer plugin in Figma. Select the layers you want to move, copy them with the plugin, then paste them onto the Framer canvas. Run the plugin again whenever you want to import another selection" ([Framer Academy, "Import designs from Figma and the web to Framer"](https://www.framer.com/academy/lessons/framer-fundamentals-importing-from-figma-and-the-web)). That is a copy-and-paste route into Framer's canvas, then a publish from there, not a file you host anywhere you like.

## What does an export-code plugin give me?

You get code files you can inspect, edit and host wherever you choose. Anima is a concrete example, described only from its own page: "Turn design to code and refine with AI. Export clean HTML/CSS code or publish instantly," with output options including "HTML / CSS, React, Vue, Tailwind, shadcn, TypeScript, JavaScript, Next.js, and more" ([Anima, "Figma to HTML & CSS"](https://www.animaapp.com/figma-to-html)). Anima describes its output as "clean, semantic, and responsive code that's ready for production or rapid prototyping," and for a multi-screen Figma prototype it generates "responsive, linked pages with working navigation."

Anima also offers "publish instantly" next to the code export, so one plugin can act as either kind depending on the button you click. Check which action the interface offers before you assume every path exports a file.

## What does a publish-a-site plugin give me?

You get a live page and no file. You select a frame in Figma, and the plugin's service builds and hosts the page. Nothing downloads unless the product documents an export path.

The Figment plugin works this way: choose **Make this website public** to publish selected page frames from a Figma Design file. The Free plan gives the site a `figment.so` address with a Figment badge. Pro ($49/month, or $39/month billed yearly) connects up to 10 custom domains, and Studio ($199/month, or $159/month billed yearly) up to 50. Pro and Studio start with a 30-day free trial. It is hosted publishing, not a code export. It does not give you a ZIP file or a source project to move to another host, and it has no CMS.

## What should I check before I trust a plugin's output?

Check these five things for either kind of plugin:

- **Responsive output.** Does the plugin's page say whether it reads your auto layout and resizing rules, or captures the frame at the size you built it? If it does not say, assume the latter and test at several widths.
- **Fonts.** Check for notes on font licensing, web-font loading or fallbacks. A font that renders in Figma can still fail to load on an exported or published page.
- **Code quality.** "Clean" and "semantic" are marketing words until you open an exported file. Look for real heading tags, real links and named classes, not one absolutely positioned `<div>` per layer.
- **Hosting.** For a publish-a-site plugin, confirm whether the page lives on the vendor's infrastructure (and what happens if you stop paying) and whether you can use your own custom domain. For an export-code plugin, confirm you get a file and not only a preview.
- **Paid plans.** A paid publishing plan can add a custom domain without adding code export. Verify the output against the plan you will use.

[What Breaks When You Export Figma to HTML?](/blog/what-breaks-exporting-figma-to-html) has the fuller testing checklist: links, hover states, prototype animation, image references and responsive behavior.

## Which kind of plugin should I use?

- **A developer will maintain the result in their own repository.** Use an export-code plugin and treat its output as a first draft to review, not a ship-ready file.
- **Nobody will maintain code and you need the design live at a URL.** Use a publish-a-site plugin. There is no file for anyone to own or forget to update.
- **You want to start hosted and get code later.** Confirm the product documents a real download before you commit. The Figment plugin does not offer downloadable site code, so choose a code-export plugin or plan a hand-coded rebuild when you need portable files.
