How to create and use components in Figma
In Figma (verified 2026-10-24), select a designed element (for example a button) and use Create component (shortcut Ctrl/Cmd+Alt+K, or the diamond icon). Drag instances of that component across frames; edits to the main component update instances.
Use variants for states (Default / Hover / Disabled). Prefer overriding text/fills on instances over Detach unless you truly need a one-off.
Applies to Figma Design in the browser and desktop app with edit access. View-only seats can inspect but not create components. Team libraries publish components for other files.
Make a reusable component
Create the main component
- Design the master button/card on the canvas.
- Select the layers > Create component (diamond).
- Name it clearly in the Layers panel (Button/Primary).
Place instances
- Drag from the Assets panel or duplicate the component.
- Edit text and some properties on the instance (overrides).
- Double-click through carefully — avoid accidentally editing the main.
Variants and libraries
- Combine states into a variant set when ready.
- Publish to a team library if other files should reuse it.
- Detach instance only as a last resort — you lose sync.
Our take: components before page-level polish
If the same button appears thrice, componentize before you tweak corner radii on each copy. Future design changes become one edit.
If it fails
- Create component disabled: check edit permissions / you selected a component already.
- Instance not updating: you edited a different main or detached.
- Assets empty: open the correct library or Local components.
- Need code export: use Dev Mode inspect — separate from component creation.
Frequently asked questions
What is a Figma component?
A reusable UI building block; instances stay linked to a main component.
How do I create a component in Figma?
Select the object and click Create component (or Ctrl/Cmd+Alt+K).
Component vs frame?
Frames layout content; components define reusable, syncable design elements.
What does Detach instance do?
It breaks the link so the layers become normal objects that no longer receive main updates.
Can components live in a shared library?
Yes — publish a team library so other files can enable and use those components.