How to use SVG icons in Figma
Quick steps
- Get the SVGDownload the .svg file or use Copy SVG in SVG Creator.
- Bring it into FigmaDrag the file onto the canvas, use Place image (Shift+Cmd/Ctrl+K), or paste the copied SVG code with Cmd/Ctrl+V.
- Recolour itSelect the vector layers and change the stroke (outline icons) or fill (filled and glyph icons) colour. currentColor usually imports as black.
- Resize it properlyUse the Scale tool (K) or set the frame's constraints to Scale so stroke widths shrink and grow with the icon.
- Make it a componentSelect the frame and press Cmd/Ctrl+Alt+K. Add variants for size or state if you need them.
Three ways to get SVG into Figma
- Drag and drop the .svg file onto the canvas. Figma converts it to a frame with vector layers.
- Paste the code. Copy the SVG markup (SVG Creator's Copy SVG button) and press Cmd/Ctrl+V in Figma. This is the fastest way when you are already in the browser.
- Place image (Shift+Cmd/Ctrl+K) to pick one or more files from disk.
All three give you editable vectors, not a flat image, so you can change colours and nodes.
Recolouring and the currentColor gotcha
Icons made for the web often use currentColor, which has no meaning in Figma; it usually comes in as black. Select the layers and set the colour you want. Outline and duotone icons are coloured by their stroke; filled and glyph icons by their fill. For duotone icons, the translucent shape is a separate layer you can give your second colour.
Tip: link the colour to a colour style or variable (for example icon/default) so a theme change recolours every icon at once.
Resizing without breaking the stroke
If you resize an outline icon with the normal selection handles, the 2px stroke stays 2px, so a 48px icon looks thin and a 16px icon looks heavy. Use the Scale tool (K) instead, which scales stroke widths too, or set the frame's constraints to Scale. Some teams also use Outline stroke (Shift+Cmd/Ctrl+O) on finished icons so they behave like filled shapes, at the cost of no longer being able to change the stroke width.
Building an icon component set
Keep every icon in a 24×24 frame with the artwork inside a 2px safe area, the same grid SVG Creator draws on. Make each one a component, name it with a slash path such as icon/bell, and use instance swap properties so designers can swap icons inside buttons. Consistent frame size is what keeps icons aligned in auto layout.
Exporting back to SVG
Select the frame, add an SVG export in the Export panel, or right-click and choose Copy as SVG. Figma writes hard-coded colours; if the icon is going into code, replace them with currentColor (see how to change SVG icon colour) or run the file through an optimiser.
Frequently asked questions
Why is my imported SVG black in Figma?
The SVG uses currentColor or inherits its colour from CSS, which Figma does not have. Select the vector layers and set a stroke or fill colour.
Can I paste SVG code into Figma?
Yes. Copy the SVG markup and paste it onto the canvas; Figma creates vector layers from it.
How do I keep strokes in proportion when resizing an icon?
Use the Scale tool (K) or set the constraints of the icon frame to Scale. Plain resizing keeps the stroke width fixed.