Cómo usar: SVG to Webflow
- In Figma, right-click your icon layer and choose Copy as → Copy as SVG (or export an .svg file).
- Paste it on the left. The tool strips Figma metadata and comments and, by default, switches colors to
currentColor. - Choose Custom Elements (native svg/path elements) or Code Embed, set the size (and optionally a class name), then click Copy to Webflow.
- In the Webflow Designer, select where it should go and press Ctrl/⌘+V. If Webflow doesn’t accept the paste, use the one-time calibration box (copy one Custom Element from Webflow and paste it into the tool), then try again.
Why paste SVG icons as embeds in Webflow?
Uploading an icon as an image asset works, but the SVG’s colors are then locked: you can’t change them on hover, in dark mode or per component. Placing the SVG code inside a Code Embed makes it part of the page, so it inherits CSS — with fill="currentColor" the icon simply takes the element’s font color, and Webflow interactions or hover states can recolor it.
What the cleaner does
- Removes the XML declaration, comments,
<metadata>and editor attributes from Figma, Illustrator, Inkscape and Sketch. - Replaces hard-coded
fill/strokecolors withcurrentColor(keepsnoneand gradient references). - Adds a
viewBoxwhen missing and sets width/height to 100% so the wrapper div controls the size. - Marks decorative icons
aria-hidden="true", or addsrole="img"and a label for meaningful ones. - Strips scripts and inline event handlers for safety, and minifies the result.
Custom Elements vs Code Embed
Webflow’s Custom Element lets you create any HTML tag — including svg, path, g, circle and linearGradient — and give it attributes. Built this way, an icon is made of real Designer elements: you can see each path in the Navigator, add classes to individual parts, animate them with Interactions, bind attributes to CMS fields and edit values without opening code. A Code Embed is a single block of HTML: simpler, but a black box in the Designer.
| Custom Elements | Code Embed | |
|---|---|---|
| Edit in Navigator | Yes, every tag | No, edit the code |
| Classes & interactions per path | Yes | Only via custom CSS/JS |
| Complex illustrations | Many elements — can get heavy | Better choice |
How “Copy to Webflow” works
When you copy elements inside the Webflow Designer, Webflow puts a JSON description of them on the clipboard. This tool builds the same kind of data from your SVG — one Custom Element per tag, with all attributes, with the size you chose set on the root svg (or on an optional class) — so pasting creates native elements. Webflow doesn’t officially document this clipboard format, so if a future Webflow update ever changes it, the tool includes a calibration fallback: copy any Custom Element from your Webflow Designer, paste it into the calibration box, and the tool learns the current format and uses it from then on (stored only in your browser).
Tips for icons in Webflow
- No class is added by default. If you want shared sizing, enter a class name and reuse it; use fluid units if icons should scale with text.
- Very large or complex SVGs (illustrations, maps) are better as image assets — Embeds have a character limit (currently 50,000).
- For SVG backgrounds or masks, use the SVG to CSS tool; for React projects use SVG to JSX.
También se busca como: webflow svg, svg embed, figma to webflow, icon, currentcolor, webflow clipboard, xscpdata.
Herramientas que combinan con: SVG to Webflow
- Figma CSS to Webflow — Turn Figma’s “Copy as CSS” output into tidy values you can type straight into Webflow’s Style panel — absolute positioning and noise removed, units converted.
- Markdown to Webflow Rich Text — Paste Markdown, check the preview and copy it as formatted rich text — headings, lists, links and bold text land correctly in Webflow’s Rich Text element.
- Calculadora de abrazaderas — Introduce un tamaño mínimo y máximo y el rango de la ventana de visualización: obtendrás un valor fácil de ajustar con el zoom clamp() con una explicación de los cálculos, una vista previa en directo y una escala completa y fluida de tipo o espacio.
- WordPress to Webflow Redirects — Moving a site from WordPress to Webflow changes almost every URL: dated blog paths, /category/ archives, trailing slashes and page slugs.
Preguntas frecuentes
Why doesn’t pasting into Webflow work?
Can I edit the SVG paths after pasting?
path, g or circle is its own element. Select it in the Navigator and edit its attributes (like d or fill) in the element settings, or give it a class to style it.How do I change the icon color in Webflow?
Is it safe to paste SVGs from unknown sources?
foreignObject and inline event handlers, but you should still only use SVGs you trust.Does this work with multi-color icons?
currentColor.