How to swap a component instance in Figma
Swap a component instance in Figma for a different component without redrawing it. Select the instance, open Swap instance, and pick a replacement.

Quick answer
To swap a component instance in Figma, select the instance on the canvas or in the Layers panel, click the component name at the top of the right sidebar to open the Swap instance menu, then choose a different component from the list. The instance changes to match the component you picked.
Steps at a glance
- Select the instance in the Layers panel.
- Click the component name at the top of the right sidebar.
- Review the components listed in the Swap instance menu.
- Pick the replacement component from the list.
- Check that the instance now shows the new component.
Interactive demo
Summary
Swapping an instance replaces what an instance points to without redrawing it. Your instance keeps its place in the layout while it takes on a different component from the same file. It saves time when a design needs a different variation of a shared element.
Step-by-step guide
Step 1
Select the instance
Find the instance you want to change in the Layers panel. Click its row, for example Rectangle 2, to select it on the canvas. Instances are marked with a diamond icon in the layer row.
Step 2
Open the instance swap menu
Look at the top of the right sidebar. The name of the main component appears there, for example Rectangle 1, with a small arrow beside it. Click that name to open the swap menu.
Step 3
Pick Ellipse 1
The Swap instance dialog opens with a Search in this library box and a list of components Created in this file. Click Ellipse 1 to replace the current component with it.
Step 4
Check the swapped instance
The right sidebar now shows Ellipse 1 as the instance's component. The instance stays at the same position on the canvas, now using the new component.
Why this matters
You built a layout with one component, and now you need a different one in the same spot. Swapping the instance keeps its position and layer in place, so you avoid deleting it, pasting a new copy and lining it up again.
Frequently asked questions
Does swapping an instance change the main component?
No. Swapping changes which component the instance points to. The other components in the file stay as they were.
Where do I start the swap?
Select the instance, then click the component name at the top of the right sidebar to open the Swap instance dialog.
Related guides
Continue with more step-by-step guides for getting work done.
How to detach an instance in FigmaLearn how to detach an instance in Figma so a component copy becomes a regular frame you can edit freely without touching the main component.
How to create a component in FigmaTurn any shape into a reusable component in a Figma design file: select the layer, click Create component, then find it listed under Assets.
How to access free templates in FigmaFind free templates in Figma Community: open Design resources, filter by Free price, and preview a template before you open it in your own file.
How to undo changes in FigmaUndo a change in Figma from the main menu or with the keyboard shortcut. See where Undo lives under Edit and reverse your last action in seconds.
How to ungroup elements in FigmaLearn how to ungroup elements in Figma: select a group in Layers, right-click, choose Ungroup, and get each object back as its own editable layer.
How to use a plugin in FigmaLearn how to find, run, and use a free plugin in Figma, from the Actions bar to the plugin window, using the Iconify icon plugin as a worked example.
Create interactive demos like this one — free, no coding required.
Start for free →