Guides / Claude artifacts to Figma
Claude Artifacts to Figma: Turn an Artifact into Editable Layers
Claude artifacts are a fast way to sketch an interface: you ask for a pricing page or a dashboard and Claude renders working HTML or React next to the chat. The next question is usually how to get that artifact into Figma so the design team can refine it. Here are the options, from quickest to cleanest.
Understand what an artifact is
An artifact is code (HTML, CSS, JavaScript or a React component) that the browser renders. Figma works with layers, not code. Any "artifact to Figma" workflow is therefore a conversion from rendered code to design layers, and conversion quality depends on how the code is structured.
Option 1: Convert the HTML with an HTML-to-Figma plugin
- Copy the artifact's code into a local
.htmlfile (for React artifacts, ask Claude for a single-file HTML version). - Open or host the page so a converter can load it.
- Run an HTML-to-Figma plugin and choose the viewport widths you need.
- Clean up: rename frames, fix any flattened effects, apply your styles.
Option 2: Capture with the Figma MCP server
If you use Claude Code, run the artifact locally and use the Figma MCP server's capture feature to send the page to Figma as layers. This works especially well for multi-state UIs, since you can capture each state separately. See Claude Code to Figma.
Option 3: Regenerate it natively in Figma
Often the fastest path is to skip conversion: paste the same prompt (or a description of the artifact) into a Claude plugin inside Figma. You get native frames with auto layout and proper text layers from the start, with no cleanup of converted markup.
Option 4: Screenshot as a reference
Drop a screenshot onto the canvas and lock it as a reference layer. It is quick, but it's an image, not a design, so only use it to guide a rebuild.
Tips for artifacts that convert well
- Ask Claude for semantic HTML with flexbox or grid layout.
- Avoid canvas, WebGL and heavy animation; they don't convert into layers.
- Use real text instead of text baked into images.
- Use a fixed width (for example 1440px) for desktop captures.
Claude Design for Figma
Describe a UI and get real, editable Figma layers — the plugin runs locally in your file. 3,000,000 tokens/month, save 51% yearly.
Get the plugin →