ai.to.design is now free.No account needed.Install now →

Connect Your AI
to Figma

ai.to.design is a free Figma plugin that turns AI-generated HTML/CSS into native, editable Figma designs. Connect Claude, Cursor or any MCP client and render, edit and iterate directly on your canvas.

What you can do with it

Four ways to use it from your AI tool. Each image was made in Figma with the tools listed under its prompt.

A page from one prompt

Describe the page and your AI tool renders it as native Figma layers with auto layout, real text and named layers, ready to edit.

Prompt

Design a landing page hero for Routewise, a route planner for bakeries and florists. Render it in Figma at 1440px.

  • get_design_context
  • render_html
Landing page hero for a route planner, rendered in Figma: headline, call to action and a panel with route statistics

Your components, in Figma

Point your AI tool at a component in your repo and get a Figma component set with one variant per state, so design and code show the same thing.

Prompt

Turn the Button in src/components/ui/button.tsx into a Figma component with its primary, secondary, outline and danger variants.

  • codebase_to_figma
Figma component set with four button variants: primary, secondary, outline and danger

Change it by asking

Edits happen in place on the layers that are already there. Node ids, your manual changes and motion survive, because nothing is rendered again.

Prompt

Make the selected pricing card more compact and switch its button to the outline style.

  • update_style
The same pricing card before and after the edit: the second is more compact and has an outline button

Built with your design system

Your AI tool reads the variables, styles and components in the file first and designs with those values instead of inventing new ones.

Prompt

Design a notification settings page using this file's colour variables.

  • get_design_context
  • render_html
Notification settings page rendered in Figma in the colours of the file's own variables
Figma

Install the Figma Plugin

Get the plugin from the Figma Community and start rendering AI-generated designs on your canvas.

Open in Figma

Configure Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ai-to-design": {
      "command": "npx",
      "args": ["-y", "@ai.to.design/figma-connector@latest"]
    }
  }
}

Design with your AI tool in Figma

Connect your AI tool over MCP

A local MCP server connects Claude, Cursor or any MCP client to the plugin. Your agent renders HTML as Figma frames, then edits nodes, builds components and reads your design system. No API key needed.

How the MCP connection works

Works with your AI tool

Frequently asked questions

Is ai.to.design free?

Yes. The Figma plugin and the local MCP connector are free and open source under the MIT license. There is no account, subscription or usage quota.

How does it turn HTML into a Figma design?

Your AI tool writes HTML and CSS. The plugin lays it out in a hidden browser viewport and rebuilds it as native Figma layers — frames with auto layout, text, vectors and image fills — so you can keep editing the result by hand.

Which AI tools work with it?

Any MCP client that can launch a local stdio server: Claude Desktop, Claude Code, Cursor, Codex CLI, opencode, VS Code with GitHub Copilot, Windsurf and others.

Does my design data leave my machine?

The connector talks to the plugin over localhost only; your HTML, prompts and designs are not sent to any ai.to.design server. The plugin and connector send anonymous usage counters with no identifier, which you can switch off. Feedback is sent only when you write a message and press Send: it carries your message, a category, the plugin version, the view and the connector status, never your Figma account or file content, and is kept for 12 months.

Do I need an account or an API key?

Neither. The plugin needs no account and no API key — your AI tool does the generation.

Can it edit existing Figma designs and use my design system?

Yes. Your AI can find, restyle, move and duplicate nodes, create components and variant sets, read the variables and styles already in your file, and export a Figma design back to code.