Figma reads an imported SVG as editable vector layers, while a PNG arrives as a rectangle with an image fill (Figma Help Center, 2026). That difference decides whether an icon can be recolored and whether it stays sharp at a new size. Reuse as a component depends on it too.

Most people get icons in through a plugin. Open one such as Iconify, search the set, click an icon, and it lands as a component or a frame. Dragging in an SVG file or drawing paths with the Pen tool gives you the same kind of editable vector, so the format matters more than the route.

Ways to add icons in Figma and when each one fits

Plugins win on speed. SVG import makes sense when the icon comes from a brand or licensed set, and drawing your own is for products whose style no existing library matches.

Whichever route you take, you end up with vector layers inside a frame. What changes is the setup time and how much control you keep over the set.

MethodSpeedControlBest for
Icon pluginFastestLimited to the library’s stylePrototypes, standard UI icons
SVG drag and dropFastFull, once the file is inLicensed or brand-supplied sets
SVG copy and pasteFastFull, once pastedOne-off icons from a library site
Custom drawingSlowestTotalProducts with a distinct icon style

My rule is simple. Start with a plugin. Once a client hands you SVG files, use those instead, and draw your own only after two libraries have failed to match.

Mixing sets is where files go wrong. Stroke weight and corner radius differ between libraries, and a second set stands out on screen right away.

Teams working on a design system in Figma should commit to one set before the first screen is drawn. Swapping libraries later means rebuilding every icon component.

How to add icons in Figma with a plugin

Run an icon plugin from the Figma Community, search for the icon, then click it or drag it onto the canvas. Iconify is where most people start. As of October 2026 it lists over 300,000 vector icons, costs nothing, and imports every icon as SVG, according to its Figma plugin documentation.

Running an icon plugin step by step

Icon plugin window in Figma with a search for gear, matching icons from several sets and an Import Icon button next to the inserted icon

  1. Open the plugin’s page in Figma Community, click Open in, and choose the file you are working in.
  2. Pick an icon set, or search every set by keyword (a search for “gear” returns matches across all of them).
  3. Hover an icon, open its info button, and use the quick import buttons to insert it as a component or as a frame.
  4. Or select the icon and click Import Icon, or drag it from the plugin window onto the canvas.
  5. Open the Layers panel and confirm the icon sits in a frame with vector layers inside.

Choose the component option when the icon repeats across screens. A plain frame is fine for a one-off.

Figma’s Help Center states that plugins run only when you start them, one at a time, and never in the background. On Organization and Enterprise plans, an admin can restrict members to approved plugins, so an icon plugin can be blocked until someone requests it.

Icon libraries worth using

Lucide is a community fork of Feather Icons under the ISC license, and it has its own Figma plugin. Phosphor ships six weights (Thin, Light, Regular, Bold, Fill and Duotone) under an MIT license. Heroicons comes from Tailwind Labs, offers outline and solid styles, and is MIT as well.

The official Font Awesome plugin inserts icons as SVGs. It asks for an API token the first time you open it. A free account creates a token for the free icons, and a Pro account’s token unlocks the Pro icons.

Material Design Icons is a community library from Pictogrammers that follows Google’s Material guidelines (Google’s own sets are Material Icons and Material Symbols), and the Iconify plugin can reach it. Streamline is commercial, with a Figma plugin and a standard license capped at 100 unique icons per project (Streamline Help Center, 2026).

The Noun Project is freemium. Its Figma plugin is free to use, but free access is limited to PNG icons up to 512 x 512 px with attribution required. Paid plans unlock SVG and carry royalty-free licenses with no attribution required.

Pick on style first and check the license second. Lucide and Heroicons cover most product interfaces. Phosphor earns its place when a design system uses icon weight to signal hierarchy.

How to import SVG icons into Figma

Drag the .svg file onto the canvas, or copy the icon’s SVG code from the library page and paste it into Figma. Either way the icon arrives as editable vector layers, not as an image.

That is how the vector-based SVG format behaves in Figma. As of October 2026, Figma’s Help Center states that an imported SVG is no longer treated as an image.

Drag and drop, paste and Place image

You can drag the .svg file from your computer onto the canvas. Copying the SVG source from the library site works too (Heroicons.com offers this for every icon), and then you press Cmd/Ctrl + V on the canvas. The third way is File, then Place image or video, or Shift + Cmd/Ctrl + K, and selecting the file.

Paste works inside an open design file, not on the file browser dashboard (Digidop import guide, 2023).

Sources disagree on drag and drop. Figma’s Help Center lists dragging files from your computer onto the canvas as supported, while a Community Forum post from February 2026 reports it failing for some users. Place image works in both cases.

SVG vs PNG after import

Side by side Figma imports of the same bell icon, the SVG as a frame with editable vector layers and a stroke, the PNG as a rectangle with an image fill

An SVG import becomes a frame holding editable vector layers. It recolors through fill or stroke and scales with no quality loss. A PNG import becomes a rectangle with the image applied as a fill, so there are no paths to edit or recolor, and Figma scales it down when the longest side exceeds 4096 px.

For icons, SVG wins every time. The wider difference between SVG and PNG comes down to the same split between paths and pixels.

How to draw a custom icon in Figma

Draw custom icons with the Pen tool inside a square frame, then merge shapes with boolean operations. It pays off only when the product needs a style no library offers.

Otherwise a library is faster and more consistent. A hand-drawn set also has to be maintained by someone.

Create a square frame at the target size first (24 x 24 px for UI icons, covered in the next section). Press P for the Pen tool, click to place points, and click and drag for curves. Press Enter to open vector edit mode and adjust points. The shape tools take Shift for a 1:1 ratio and Option/Alt to scale from the center.

Figma also uses vector networks, so paths can branch in several directions and a plus sign or asterisk needs no separate paths (Figma Help Center).

Boolean operations turn several shapes into one icon without destroying the originals.

OperationResultShortcut (Mac / Windows)
UnionMerges the outer edgesOption Shift U / Alt Shift U
SubtractCuts the top shapes out of the bottom layerOption Shift S / Alt Shift S
IntersectKeeps only the overlapOption Shift I / Alt Shift I
ExcludeKeeps the non-overlapping partsOption Shift E / Alt Shift E

Boolean groups stay editable, so you can still select the layers inside and change their size, position, rotation and corner radius. You cannot change the fill, stroke, effects or opacity of an individual layer inside the group. Boolean operations work on shapes, vector paths and text layers, but not on frames or sections.

Subtract is the one you will use most for holes and notches, and there is a separate walkthrough on cutting a shape in Figma.

One documented trap: running Intersect on shapes that do not overlap makes them vanish from the canvas until they overlap again.

Keep one stroke width across the whole set, and give every corner the same value, whether you set it by hand or follow a guide to rounded corners. Mixed values are the first thing that makes a custom set look uneven next to a library icon.

What size should an icon frame be in Figma?

Home icon inside a 24 x 24 frame in Figma with padding around the live area, pixel grid visible and Snap to pixel grid turned on

Use 24 x 24 px for standard UI icons, with 20 px and 16 px as smaller steps for dense layouts.

Material Design’s icon guidelines build on a 24 dp square grid with fixed keyline shapes, namely an 18 dp square, a 20 dp circle and 20 x 16 dp rectangles. Dense desktop layouts drop to 20 dp, with 2 dp of padding around the live area.

Heroicons ships 24 px outline and solid styles plus 20 px and 16 px solid versions (Tailwind Labs README). Phosphor draws every icon on a 16 x 16 px base (Phosphor project page).

Those systems come from different teams and still land on the same 24, 20 and 16 steps. Stay on those steps and imported icons keep their native proportions.

Create the frame at 24 x 24 px and place the icon inside it, leaving about 2 px of padding on each side so the artwork sits inside the live area. Then turn on Snap to pixel grid in the view settings, zoom in and check the edges.

Stick to sizes divisible by 4, which fits an 8-point grid system in the surrounding layout.

Snapping has gaps. Figma Community Forum threads report that rotation, outline stroke output and the Scale tool can leave vectors on fractional coordinates.

Resize through the frame’s width and height fields instead of scaling in Figma with the Scale tool, then check the X and Y fields for decimals before export.

How to change icon color and stroke in Figma

Vector layer selected inside a heart icon frame in Figma with its stroke set to an icon color variable and listed under Selection colors

Select the vector layer inside the icon frame, not the frame itself, then change its fill or stroke color in the right sidebar. Which property you edit depends on how the icon was drawn.

Icon typeColor lives inRecolor by
Filled iconFillChanging the fill color
Stroke (line) iconStrokeChanging the stroke color
Icon with outlined strokesFill (strokes became shapes)Changing the fill color
Multicolor iconEach layer separatelyEditing every layer’s fill

A color set on the frame paints the background, not the artwork.

On an instance, a color change is an override. It affects that instance and leaves the main component alone.

Hard-coded hex values work for one icon and fall apart across a set. Color variables apply to fills, stroke colors and color styles, so one edit reaches every icon wired to the variable, per Figma’s Help Center.

Variables also support modes, so the same icon can switch between light and dark themes. A separate walkthrough explains how Figma variables work in a full design system.

Outline stroke lives in the right-click menu, or on Cmd + Option + O (Mac) and Ctrl + Alt + O (Windows). Each path becomes one editable shape, and a color style on the stroke carries over as a fill. It does cost you something. The change is destructive, stroke properties can no longer be edited, and only undo or version history brings them back.

Before publishing a recolored set, test the color contrast of each icon against its background.

How to turn icons into components and swap them

Select every icon frame, create multiple components from the selection, then add an instance swap property to each component that holds an icon. Figma’s Help Center counts 5 component property types, and instance swap is one of them, alongside boolean, text, variant and slot.

Building the icon components

  1. Name each frame with slash naming, such as icon/arrow-left, so Figma groups related components together in the Instance menu.
  2. Select all the icon frames on the page.
  3. Open the component dropdown in the toolbar and choose Create multiple components.
  4. Rename the vector layers inside each icon so they match across the whole set.

Each frame becomes a main component with a diamond mark in the Layers panel, and the basics of making components in Figma apply from here on.

The fourth step looks like housekeeping, but it decides whether color and stroke changes survive a swap.

Swapping icons inside buttons and other components

On the button’s main component, add an instance swap property, set the default icon, and list preferred instances so the picker shows your icon set first. A boolean property turns a layer on or off, which is how you get an optional leading icon.

On an instance, the Instance menu lets you pick a replacement from the current file or any added library. Option/Alt drag works as well. Drag a component from the Assets panel over the instance (Option + Command or Alt + Control when it sits inside another frame or component), and release the mouse before the modifier key.

Override carry-over is where sources split. Figma’s page on applying overrides says changes are preserved when layer names match, and for variants it also checks that the changed property started out the same in both.

Figma’s page on swapping components says only text overrides carry over, and other overrides are not applied to the new component. Community Forum threads report both outcomes.

The workable rule is identical layer names and structure across every icon. One forum reply says uniting shapes with a union operation keeps a color override alive, while another reports it did not work for them.

One variant set or separate components?

A 2024 forum reply suggests combining every icon into a single set to stabilize overrides, though the original poster reported the problem persisted afterward. A 2022 forum thread argues the other way. An instance swap property points at components, not at individual variants of a set, and a large set in one component is hard to browse in the Assets panel. One reply says Figma itself recommends a component per icon.

Use one component per icon. Build variants in Figma for the size and style of a single glyph, so the instance swap property stays usable and the Assets panel stays searchable.

The 2022 thread predates later Figma releases, so test the swap picker in your own file before restructuring a library.

Why do imported icons break and how do you fix them?

Imported icons usually break because of hardcoded colors, strokes that stay fixed on resize, flattened paths, or overrides that reset on swap.

SymptomCauseFix
Icon ignores color stylesSVG carries fixed fill or stroke valuesReapply a color variable to each vector layer
Stroke looks too thin after enlargingWidth and height edits leave stroke weight unchangedScale tool (K) outside instances, or size variants with their own stroke weight
Paths or strokes will not editStroke was outlined or layers were flattenedUndo, restore version history, or re-import the original SVG
Color resets after a swapLayer names or structure differ between iconsRename layers to match across the set

For hardcoded colors, the Selection colors panel lists every fill in a mixed selection, so you can swap them for variables in one pass.

One catch. For a boolean group, it lists only the colors applied to the combined group, not those on the child layers (Figma Help Center).

Strokes are the other common surprise. A Community Forum post from February 2026 gives the standard example: a 24 x 24 icon with a 2 px stroke, resized to 48 x 48, keeps the 2 px stroke.

The Scale tool scales strokes proportionally, but Figma Help says it cannot touch layers nested inside a component instance. Resizing through the width and height fields keeps line weight constant, which suits UI icons that should look the same at every size.

Outlining strokes fixes scaling and costs editability, and forum threads from 2022 to 2024 report outline stroke tangling complex paths, with scaling the icon up first as the usual workaround. For sets that need several sizes, keep strokes live and publish size variants. Outline only on export copies.

Outline stroke and flatten are both destructive. Undo (Cmd/Ctrl + Z) or version history restores the original, so keep an untouched source frame off to the side.

How to share and export icons from Figma

Publish the icon components as a team library, then export SVG from the same layers for developers. Both steps start from the main components built earlier.

Publishing icons to a team library

  1. Open the Assets tab in the left sidebar.
  2. Click the Libraries icon.
  3. Find your file under This file and click Publish.
  4. Add a description, then uncheck any assets you do not want to share.
  5. Click Publish and wait for the confirmation notice.

Libraries need a paid plan. The free Starter plan can create components and styles but cannot publish them, and publishing requires a Full seat with edit access to the source file.

Keep raw source frames out of the library by starting the component name with a period, or by choosing Hide when publishing. After each change, publish again, and people using the library can review the update and apply it to their designs.

Export settings for SVG and PNG

Export icons as SVG by default. Choose PNG only when the target platform needs a raster, and set the scale for the screen density you are shipping.

SettingREST API defaultEffect on icons
Simplify strokeOnWrites a stroke attribute instead of a mask where possible
Include id attributeOffAdds each layer name as an id
Outline textOnRenders text as paths, so it looks identical everywhere
Scale (images)1Accepts values from 0.01 to 4

Those defaults come from Figma’s developer documentation for the REST API. Leave the id attribute off unless a script needs layer names.

Handing icons over in Dev Mode

Toggle Dev Mode with Shift + D. It detects icons automatically and lists them as downloadable assets. To inspect one vector layer inside an icon, turn off Automatically detect icons under View in the main menu. Export settings set on a layer (PNG, JPG, SVG, PDF) appear in the inspect panel.

Access depends on plan and seat type, and without it developers inspect in Design Mode. Switch into Figma’s Dev Mode yourself before handoff to confirm every icon shows up as an asset.

Batch exporting with a plugin

Dynamic Icon Export, an open-source Figma plugin, clones every frame whose name starts with a set character ($ by default), outlines and flattens each clone, and exports single-path SVGs in a .zip file. The original frames stay editable.

The catch is that a single path carries one fill, so multicolor icons need another route.

Run the exported files through SVG optimization before shipping them to trim file size.

Common Questions About Adding Icons in Figma

Are icon plugins for Figma free?

Some are free, others are paid. Iconify costs nothing, while paid plugins carry an In-app purchases badge and start with a time or usage-based trial, according to Figma’s Help Center.

Plugin price and icon license are separate questions, so check both.

Do icon licenses allow commercial use?

Usually yes, but the license of the set decides. Lucide is licensed under ISC and free for commercial use, per its GitHub README, while paid libraries set their own terms.

Iconify’s plugin shows the author and license for each icon in search results.

Can you use an icon font in Figma?

Yes, but icon font glyphs are not vector layers. A February 2024 Community Forum thread reports a color override resetting to black after swapping an icon font instance.

SVG icons avoid that and keep their paths editable.

How do you space an icon next to a label with auto layout?

Select the icon and the text layer, press Shift + A, and choose the horizontal flow. Then enter an exact number in the Gap between items field to set the distance, and use padding for the space around the edges (Figma Help Center).

How do you replace one icon across an entire Figma file?

Edit the main component, and every instance of it updates. To switch to a different icon everywhere, swap each instance through the Instance menu.

When the replacement lives in another library, the Swap libraries feature replaces instances in the current file in bulk, per Figma’s Help Center.

Keeping an Icon Library Clean as a Team Grows

Adding icons in Figma stays manageable when one source file owns the icon library and designers request new icons instead of pasting SVGs into their own files. A single owner slows additions, and in exchange stroke weight and layer structure stay identical across every icon.

Settle size and stroke weight first. Layer names and structure come next, and publishing to the team library goes last.

Layer names act as the contract between the library and every file that uses it, which is why renaming comes before publishing, not after.

This advice holds as of October 2026. Two requests on the Figma Community Forum ask for stroke scaling when components resize, and if Figma ships it, size variants for stroke icons stop being necessary.

The next step is applying the same discipline to every other shared asset, starting with these best practices for Figma components.

Bogdan Sandu
Latest posts by Bogdan Sandu (see all)