Skip to content

HTML to Figma fidelity

HTML to Figma Fidelity: What Converts, What Doesn't

HTML to Figma fidelity, itemised: gradients, SVG, ::before/::after, clip-path, masks, shadow DOM and counters as layers, plus the honest not-yet list.

  • ::before/::after, clip-path, mask-image and shadow DOM become real layers
  • Gradients, shadows, blur and blend modes as native Figma properties
  • Maps, iframes and WebGL come in as a screenshot of their box
  • A published not-yet list: skew/3D, path() clips, multi-masks, P3

EUREKA! · · 5 min read

HTML to Figma Fidelity: What Converts, What Doesn't

Every HTML-to-Figma tool looks good on a plain landing page. The difference shows on real sites: a hero with a conic gradient, icons drawn with ::before, a card clipped with clip-path, a numbered list styled with CSS counters, a map in an iframe. HTML to Figma fidelity is about what happens to those details, and whether they come in as editable layers, as a picture, or not at all.

This article is the honest inventory for HTML to Frames: what converts into real Figma layers, what comes in as an image of its box, and what isn't supported yet. No percentages to squint at, just the list.

What HTML to Frames converts

The plugin renders the page in a real browser, measures every element and its computed styles, and rebuilds the result as frames, text, vectors and images on your canvas. Here's what makes the trip, grouped the way you'd check it in a design review.

Any web page converted into editable Figma layers with HTML to Frames, keeping gradients, images and effects
Any web page → editable Figma layers

Text

  • Mixed styles in one text layer: a sentence with a bold phrase and a link stays one layer, with each run styled.
  • Links stay clickable in the prototype.
  • Letter-spacing, line-height and text-transform are carried over, so uppercase labels stay uppercase.
  • Superscript and subscript (footnote markers, units, formulas).
  • List markers drawn like Chrome: discs, circles and squares are drawn as shapes, so they match the browser regardless of font.
  • CSS counters: numbered steps and legal-style numbering made with counter() come in with the numbers the browser showed.

Paint and gradients

  • Solid colors for fills, borders and text.
  • Linear, radial and conic gradients, including stops set in px rather than percentages.
  • Repeating and tiled gradients, such as grids, stripes and dot patterns.
  • Borders, including a box with one side in a different color (a coloured left accent on a grey card, for example).
  • Corner radius, opacity and blend modes.

Images

  • object-fit and background-size, so cropped and covered images keep their framing.
  • Tiling for repeated backgrounds.
  • High-resolution srcset: when a page offers sharper versions of an image, the plugin picks a high-res candidate rather than the small one shown on screen, on every plan.

Vectors

  • SVG → editable vectors. Icons and illustrations arrive as vector layers you can recolor and edit, not flattened bitmaps.

Effects

  • Shadows: outer and inner box shadows, plus text-shadow.
  • Blur and backdrop-blur, the frosted-glass navbar included.
  • CSS rotation and scale.
  • filter: grayscale() and filter: opacity(), common on logo walls.

The CSS that tools often drop

  • ::before and ::after: decorative bars, quote marks, icon glyphs and overlays generated by pseudo-elements become real layers.
  • clip-path: clipped shapes (circles, polygons, insets) keep their shape.
  • mask-image: fades and masked images come through.
  • Form fields: inputs, selects and buttons look like they do in the browser.
  • Shadow DOM: content inside web components is captured, not skipped.
  • z-index order: layers stack in the order the browser painted them, so overlaps look right.

How it works

  1. Render. The page loads in an isolated browser at each screen width you picked.
  2. Measure. Every element's geometry and computed styles are read, after CSS has done its work. That's why ::before, shadow DOM and counters can be captured: the browser has already resolved them.
  3. Build pixel-exact. Layers are created with absolute positions so the first version matches the page.
  4. Add structure. Auto Layout is inferred and verified frame by frame (every child within 2 px), and frames that can't hold it keep absolute positions with constraints.
  5. Report. The results screen shows frames, layers, the Auto Layout share, missing fonts and warnings.
The HTML to Frames results screen showing frames, layers, Auto Layout share and warnings after an import
What was built, and what to check

Embedded content: a screenshot of the box

Some things on a web page simply aren't layers. A Google Map in an iframe, a video with no poster image, a WebGL or 3D canvas, an object or embed: there's nothing to convert into vectors or text. Instead of leaving an empty grey rectangle, HTML to Frames takes a screenshot of that box and places it as an image in the right spot, at the right size. Your layout stays complete, and you can replace the image later.

If a box can't be photographed, it stays a grey placeholder rather than breaking the import.

Why it's different

Fidelity claims are hard to compare, so we'd rather publish the list. Builder.io describes its own import accuracy as roughly 80–90%. Codia's public pages mention handling iframes, video and icon fonts. html.to.design offers high-resolution images as part of its Pro plan; HTML to Frames picks high-res srcset images on Free as well. Figma's own Chrome extension, in beta on paid Figma plans, focuses on binding captured layers to your file's variables.

What you get with HTML to Frames is a specific inventory (above), a specific "not yet" list (below), and a way to check the result yourself: the Reference screenshot option (Pro) adds a hidden, locked image of the page under your layers, so you can toggle it and compare.

ContentComes in as
Text, links, lists, countersEditable text layers
SVG icons and illustrationsEditable vectors
Gradients, shadows, blur, masksNative fills and effects
::before / ::after, shadow DOMReal layers
Iframes, maps, posterless video, WebGLScreenshot image of the box

How to use it

Everything listed here is on by default, on every plan.

  1. Paste a link and press Import. Use the Responsive set (Pro) to check fidelity at Desktop, Tablet and Mobile in one go.
  2. Leave Images on. Turning it off gives grey placeholders and a faster import.
  3. Turn on Reference screenshot (Pro) when you want to compare layers against the live page.
  4. Turn on Detailed layers (Pro) if you need every wrapper element kept as a frame for inspection.
  5. Read the results screen before you start editing: warnings tell you what to look at.
One import, three screens on the canvas

When it helps most

  • Redesign proposals. Client sites are full of pseudo-element decoration and clipped imagery; a faithful starting point means less rebuilding before the real work.
  • Design audits and teardown. Gradients, shadows and effects come in as native properties you can inspect, not values baked into a bitmap.
  • Front-end handoff in reverse. Developers can bring a built page back into Figma and designers can review what actually shipped.
  • Pages with maps or video. Embedded boxes come in as images, so the layout isn't left with holes.

Good to know

These aren't supported yet:

  • Skew and 3D transforms. Rotation and scale work; skewed or 3D-transformed elements don't.
  • path() clip-paths. Shape-based clip-paths work; arbitrary path clips don't yet.
  • Multi-layer masks. A single mask-image works; stacked masks don't.
  • Display-P3 colors. Wide-gamut colors aren't carried over as P3.

Also worth knowing: embedded content is an image, not live or editable; repeating gradients arrive as a tiled image fill rather than a native gradient; and fonts you don't have are mapped before building, so check the Missing fonts screen when it appears.

Get the plugin and import the trickiest page you know; the results screen will tell you exactly what came through.

Frequently asked questions

Does HTML to Frames convert ::before and ::after pseudo-elements?
Yes. Pseudo-elements are read after the browser has rendered the page, so decorative bars, quote marks, icon glyphs and overlays created with ::before and ::after come into Figma as real layers. They keep their position and stacking order like any other element.
Are clip-path and mask-image supported?
Yes, clip-path shapes such as circles, polygons and insets are kept, and a single mask-image comes through. Clip-paths defined with path() and multi-layer masks are not supported yet.
What happens to iframes, maps and videos when I import a page into Figma?
Content that can't be turned into layers, such as iframes with maps, videos without a poster, WebGL canvases and object or embed elements, comes in as a screenshot image of that box. It sits in the right place at the right size, so the layout stays complete. If a box can't be photographed, it stays a grey placeholder.
Does it keep high-resolution images?
Yes. When a page offers sharper versions of an image through srcset, HTML to Frames picks a high-resolution candidate instead of the small image shown on screen. This works on every plan, including Free.
What CSS isn't supported yet?
Skew and 3D transforms, clip-paths defined with path(), multi-layer masks and Display-P3 colors are not supported yet. Rotation, scale, shape clip-paths and single masks do work.

Stop redrawing the web.

Paste a link and get real, editable, responsive Figma layers in seconds. Free to start — 10 imports every month.

Stop redrawing the web.

Paste a link and get real, editable, responsive Figma layers in seconds. Free to start — 10 imports every month.

No credit card. Pro is bought inside Figma.

Coming soon to Figma Community