figma guide

Figma Slots Explained: Flexible Component Content Without Detaching

Learn what Figma slots do, when to pick a slot over instance swap or variants, and the limits that trip teams up, so you stop detaching components.

Intermediate Designers and design system maintainers who keep detaching cards, modals and lists to fit real content.

Published
Read time
8 min
Level
Intermediate
Editor
Abdus Salam

Quick answer

A Figma slot is a component property that turns a frame inside a main component into an open area. In an instance you can add, resize and rearrange any layers in that area without detaching, so the instance keeps getting library updates. Use a slot when the content of a region changes from use to use (a modal body, a card body, a list of items). Use instance swap when exactly one nested thing should be replaceable, and variants when the component has fixed states or types.

Who this is for

Designers and design system maintainers who already build components with variants and auto layout and keep detaching cards, modals or lists to fit real content. If components are new to you, start with the components and variants practical guide first.

What a slot is

Figma’s help center defines slots as flexible areas placed inside main components where you can add, resize and arrange content in an instance without detaching it. The slot itself behaves much like a frame: it can have horizontal or vertical auto layout, minimum and maximum sizes, fills, effects and variables.

Slots were announced at Schema 2025, went into open beta, and reached general availability with the June 10, 2026 Plugin API update. The help center lists them for all plans; publishing them to a team library still needs a plan that can publish libraries.

Three things make a slot more than “a frame you are allowed to edit”:

  • Default content. You can publish a slot empty or with default layers in it.
  • Preferred instances. You can pick a short list of components the slot suggests when someone clicks Add instances. You can also turn on Only allow preferred instances.
  • Layer limits. You can set a minimum and a maximum number of layers. These are guidance, not hard rules: going past a limit shows a warning and an orange label, but the designer can keep working.

How to create one

The help article gives three routes. All of them work inside a main component:

You haveDo thisResult
A nested frame that already marks the areaRight-click it and choose Convert to slot (or use the right sidebar button)The frame becomes a slot and a new slot property is created
Text, a group, an instance or several layersRight-click and choose Wrap in new slotA new slot is created around the selection
Nothing yetClick Create property in the right sidebar and pick Slot, then assign it to a frame with Convert to slotYou set up the property first, then the area

The help center also lists a keyboard shortcut for Convert to slot: Command Shift S on Mac, Control Shift S on Windows. To share one slot property across variants in a component set, multi-select the matching layers in each variant and apply the property in one go.

Then open the slot property’s settings (hover over it in the Properties section and click Edit property) to set its name, description, preferred instances, layer limits, whether empty slots stay visible, and whether inserted items fill the slot’s cross axis.

Slot, instance swap or variant: the decision

This is the question most teams get stuck on. Figma’s own comparison article frames it as a range from tight guardrails to freedom.

SituationUseWhy
Exactly one icon, avatar or logo that people replaceInstance swapIt allows at most one instance and stops layout edits to that nested layer
A button with default, hover, pressed and disabled statesVariantsVariants exist to manage states and types of one asset
Small, medium and large sizes of the same layoutVariantsSize is a type, not free content
A modal or card body whose content differs on every screenSlotPadding, radius and shadow stay locked in the main component; the body is open
A list, tab bar, form or playlist with an unknown number of itemsSlotAdd as many items as you need without detaching or making “3 items / 4 items / 5 items” variants
Avatar group that crowds after five peopleSlot with a maximum of 5 layersThe limit tells designers the rule right in the file
Radio group that makes no sense with one optionSlot with a minimum of 2 layersSame idea, the other way round
A form that should only take your input componentsSlot with preferred instances and Only allow preferred instancesDesigners get freedom of order and count, but from an approved set
Page layouts with header, sidebar and content regionsOne slot per regionOne layout component instead of a layout per page type

A quick rule: if you can list every option ahead of time, use variants or instance swap. If you can’t, use a slot.

What you can and can’t change in an instance

Inside an instance, a slot works like a normal frame for its content. You can draw into it, paste, duplicate, drag in assets, or click Add instances.

The slot layer itself is more locked down. Per the help center, you can change its fill, stroke, opacity, effects, layer name and export settings. You cannot change its position, auto layout direction or constraints in an instance; those come only from the main component. So if one screen needs the slot to run horizontally and another vertically, that is a variant decision on the main component, not something designers can flip per instance.

Two more instance actions are worth knowing:

  • Reset slot (More actions on the slot layer) returns it to the main component’s default content. A changed slot shows a Modified tag on its property.
  • Delete contents empties the slot so you can start fresh.

Known limits

These come from the official documentation, not forum guesses:

  • No slot on the top-level layer. A slot has to sit on a nested layer of the main component or of variants in the same set.
  • No component properties on layers inside a slot. If you move a layer that has a property from one main component into another component’s slot, the property is dropped. The fix Figma suggests: build the inner piece as its own component with its own properties and insert an instance of it, or bind variables and switch modes instead of swapping variants.
  • Layout direction is locked in instances, as above.
  • Removing a slot property is destructive. Instances that added content to that slot lose it and go back to the default. Figma recommends trying the removal in a branch before publishing.
  • Migrating old workarounds is often a rebuild. If you faked slots with a variant-based “slot” stand-in plus an instance swap property, the migration guide says it can’t be converted directly: the swap bindings break and instances won’t update on their own.

Slots and auto layout

A slot is easiest to use when it has auto layout. Set the flow direction on the main component, set gap and padding there, and consider turning on the setting that fills inserted items on the cross axis. With a vertical slot, that makes every inserted row stretch to the slot’s width, which is usually what you want for card bodies and forms. If auto layout resizing still feels unpredictable, the auto layout in practice guide covers hug, fill and fixed with real examples.

Handoff

Slots map closely to how child content works in React, and Figma supports them in Code Connect, so the flexible content can show up in code snippets. At the time of the help article, MCP support was listed as coming soon. For the rest of the handoff checklist, see Dev Mode for designers.

Common mistakes

  • Making everything a slot. A button label or a single icon doesn’t need one. Text properties and instance swap keep tighter control.
  • Putting the slot on the component’s root. It won’t work. Wrap the content in a nested frame first.
  • Expecting designers to change slot direction per instance. They can’t. Decide the flow on the main component, or make variants.
  • Adding component properties to layers inside the slot. They’re not allowed there. Make that piece its own component.
  • Deleting a slot property in main to “clean up”. Every instance’s custom slot content disappears. Test in a branch first.
  • Treating layer limits as validation. They warn, they don’t block. Say the rule in the description too.
  • Keeping the old fake-slot component around. After migrating, hide it from publishing and move it out of the way, as Figma’s migration guide suggests.

FAQ

Are slots available on the free plan?

Figma’s help center lists slots for all plans, with edit access to the file. Publishing a library so others can use your slot components needs a paid plan, as with any library update.

What happens to my slot content when the main component is updated?

The instance keeps receiving updates from the main component, and the content you added to the slot stays. The exception is removing the slot property from the main component: then the instance’s slot goes back to its default content.

Do slots replace instance swap?

No. Instance swap is still the better fit when exactly one nested component should be replaceable and its layout should stay fixed. Slots are for areas where the amount and type of content varies.

Next

Slots work best on top of clean components and shared libraries. Read how to use Figma team libraries and shared components to publish them, and see the interactive components guide for the states that still belong in variants. More explainers live on the Figma guides hub.

Share on X

§ Keep reading

Next in path.