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

  1. Select the instance in Layers
  2. Right-click the instance
  3. Choose Detach instance
  4. Select the main component in Layers
  5. Press Backspace to delete it

Interactive demo

Loading 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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

Create interactive demos like this one — free, no coding required.

Start for free →