Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Figma Design – Figma Learn
  • Build design systems
  • Manage your libraries

Swap components and instances

Written by Figma Man

Updated at June 19th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Administration – Figma Learn
    Manage files and projects Manage a team Manage your account Manage a Figma organization Manage Enterprise plan settings and permissions Billing Manage Figma in a school
  • Figma Design – Figma Learn
    Create prototypes Import and export Create designs Tour the interface Dev Mode Work together in files Build design systems Figma Draw
  • Get started – Figma Learn
    Set up your account Layers 101
  • FigJam – Figma Learn
    Import and export Run meetings Work on boards Tour the interface
  • Community – Figma Learn
    Explore the Community Creator tools and resources
  • Help – Figma Learn
    Troubleshoot Common questions Work with support
  • Work across Figma – Figma Learn
    Figma AI Work across Figma
  • Courses, tutorials, projects – Figma Learn
    Courses Projects
  • Figma Slides – Figma Learn
    Create and edit slides Present slide decks Tour the interface Import and export
  • Figma Buzz – Figma Learn
    Templates in Figma Buzz Create and edit assets in Figma Buzz Overview
  • Figma Make – Figma Learn
    Tour the interface Work with Figma Make
  • Figma Sites – Figma Learn
    Design a site Create webpages and breakpoints Make your site interactive Preview and publish a site Tour the interface
+ More

Table of Contents

Instance menu Assets panel Quick insert Right-click menu

Who can use this feature

Supported on Education, Professional, and Organization, plans

Anyone with can edit access to a file can insert components into a file.

New to components and libraries? Guide to style and component libraries →

Components let you create and reuse elements of your designs to speed up the process and keep things consistent.

When building interfaces, we often switch between instances of these components for objects like icons, buttons, and cards.

The Instance menu lets you quickly search, preview, and swap one component for another. There are a few ways you replace or swap instances in Figma.

Want to swap instances in bulk? Use the Swap libraries feature to replace instances in the current file with components from another library. Swap libraries →

Note: Figma will try to preserve any overrides when you select a different variant, or swap between instances in the Instance menu. Learn more about override preservation →

Instance menu

The Instance menu allows you to find component replacements from the current file and any libraries added to the file.

When you have a component selected, access the Instance menu in the right sidebar.

SwapInstance.gif

Figma orders components in the Instance menu based on the component's Name and Location.

  • Related components are components that share the same hierarchy. This includes components in the same file, page, and frame.

    For example: you can have a file containing your app's UI design system, a page for each operating system, and frames within each page where your components are grouped by type.

  • Figma also groups related components organized using the slash naming structure.

    For example: Figma considers UI/Button/Active, UI/Button/Hover, and UI/Button/Inactive as related components.

ui3-slash-naming.png

Learn how to name and organize components →

To swap an instance using the Instance menu:

  1. Select the instance you want to replace. Figma will display the name of the component in the right sidebar.
  2. Click the name of the component to open the Instance menu.
  3. Use the menu to navigate through components:
    1. Select from the group of related components for your selection.
    2. Use the field to search a component by name.
    3. Click to switch between libraries added to the file.
    4. Click to navigate to a different group of components.
    5. Use the and to switch between grid and list view.
  4. Select an instance to replace the current selection.

ui3-instance-controls.png

Assets panel

The Assets panel in the left sidebar allows you to search for components to add to your file. You can find components from any libraries you have access to.

You can drag a component onto the canvas to create an instance of that component. If you use the modifier key while dragging a component from the Assets panel, you can replace the existing component.

  1. Open the Assets panel and find the component.
  2. Hold down the modifier key: If the component isn't nested within another frame or component
    • Mac: ⌥ Option
    • Windows: Alt
    If the component is nested within another Frame or component
    • Mac: ⌥ Option - ⌘ Command
    • Windows: Alt + Control
  3. Drag the component above the instance you want to swap in the canvas.
  4. Release the mouse, then release the modifier key. If you release the modifier key first, Figma will only add the new component, not replace.

Note: Figma only preserves text overrides. To keep any changes you've made to text layers, rename the layers so they're unique. If you swap a component with other overrides applied, we won't apply these to the new component. Learn more about overriding properties of an instance.

Quick insert

Swap instances of components from your keyboard using quick insert. Quick insert opens the Resources modal where you can find and view components from libraries that have been added to the file. The components found in the Resources modal mirror what you see in the Assets panel.

  1. Select the layer or instance you want to swap.
  2. Use the shortcut Shift I to open quick insert.
  3. To locate a component, do one of the following: 
    • Use the search field to find a specific component. Use your mouse or arrow keys to navigate to the relevant component.
    • Use the and icons to switch between grid and list view.
    • Select from a library that's been added to the file. If a library is not displaying, you may need to add it first. Manage libraries in design files →
  4. Hold down ⌥ Option (Mac) or Ctrl (Windows). 

ui3-quick-insert.png

Right-click menu

You can also use the right-click menu to switch between related components. This will only allow you to select components in the same frame or hierarchy.

  1. Right-click on the instance in the canvas.
  2. Hover over the Swap Instance option.
  3. Select an instance from the list of related components.

ui3-swap-right-click.png

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Enable a library for a team
  • Enable access to libraries in your drafts
  • Remove your access to a library
  • Add or remove a library from a design file
  • Blog
  • Best practices
  • QR code generator
  • Color wheel
  • Colors
  • Color picker
  • Color palettes
  • Color palette generator
  • Color contrast checker
  • Font Library
  • Templates
  • Developers
  • Integrations
  • Affiliate program
  • Resource library
  • Reports and insights
  • Support
  • Status
  • Legal and privacy
  • Modern slavery statement
  • Climate disclosure statement
  • COMPARE
  • Sketch
  • Adobe XD
  • Framer
  • Miro
  • COMPANY
  • Events
  • Customers
  • Careers
  • Newsroom
Expand