How to remove a component in Figma
Learn how to remove a component in Figma by detaching an instance into a plain frame, then deleting the main component if you no longer need it.

Quick answer
To remove a component in Figma, select the instance in Layers, right-click it, and choose Detach instance. It turns into a plain frame with no link to the original. If you also want the source gone, select the main component in Layers and press Backspace to delete it.
Steps at a glance
- Select the instance in Layers
- Right-click the instance
- Choose Detach instance
- Select the main component in Layers
- Press Backspace to delete it
Interactive demo
Summary
Detaching an instance cuts its link to the main component and turns it into an ordinary frame you can edit freely. Deleting the main component removes the source of every linked instance, so it pays to detach first.
Step-by-step guide
Step 1
Select the component instance
Find the instance in the Layers panel on the left and click it. The instance shows a diamond icon in Layers, while the main component shows a four-diamond icon. The Design panel on the right updates to show the selected layer.
Step 2
Right-click the instance
Right-click the selected instance in Layers to open the context menu. The menu lists actions such as Copy, Group selection and Frame selection.
Step 3
Choose Detach instance
Click Detach instance in the menu. Its shortcut is shown next to it in the menu as ⌥⌘B on Mac. After you click it, the instance becomes a plain frame in Layers and no longer follows the main component.
Step 4
Select the main component
If you want to remove the original too, click the main component in Layers. It carries the four-diamond component icon, so you can tell it apart from the detached frame.
Step 5
Delete the main component
With the main component selected, press Backspace. The component disappears from Layers and the canvas, while the detached frame stays where it was.
Why this matters
You have a design where an instance should stop following the main component, or a component you no longer use is cluttering the file. Detaching keeps the layout you built, and deleting the main component tidies up what is left.
Frequently asked questions
What does Detach instance do?
It turns the instance into a plain frame in Layers. The frame keeps its look but no longer follows changes to the main component.
Do I have to delete the main component?
No. Detaching the instance is enough to remove it as a component. Delete the main component only when you no longer need it.
Related guides
Continue with more step-by-step guides for getting work done.
How to add a prototype link in FigmaLink a button to another frame in Figma. Open the Prototype tab, drag a connection to your destination frame, and set up a click interaction.
How to align objects in FigmaLearn how to align objects in Figma: select several layers, then use the Alignment controls in the Design panel to line up tops and centers.
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 rename layers in FigmaRename layers in Figma from the Layers panel: double-click a layer name, type a new name, and press Enter so your design file stays easy to scan.
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 auto layout in FigmaLearn how to turn several layers into one auto layout frame in Figma, then change the gap and direction so the layers stay evenly spaced as they change.
Create interactive demos like this one — free, no coding required.
Start for free →