Skip to main content
GOCS Design
New Member
Nov 4, 2026 6:58 AM UTC

Rename layers (AI) skips layers inside slots

Hi everyone,

I'm using Slots in my design system and noticed that the AI "Rename layers" action never renames layers placed inside a slot. It skips them completely, so I end up with "Frame 427", "Frame 428", "Text"... inside every slot.

Steps to reproduce:
1. Create a component with a slot (e.g. a Card with a "Content" slot).
2. Insert an instance and add a few frames and text layers into the slot (keep default names).
3. Select the instance (or the layers inside the slot) and run Actions > Rename layers.

Expected:
Frames and text layers I added inside the slot get renamed, like any other unnamed layers.

Actual:
They are skipped. If I select only the slot content, I get "No layers need renaming".

I understand why this happens. The Help Center says Figma AI won't rename layers nested within an instance, and slot content technically lives inside the instance tree. But slot content is different from instance sublayers: it's content I added myself, not the component's internal structure. It should be treated like regular layers.

Suggestion:
- Keep protecting the component's internal structure and nested instances (don't rename those).
- Rename eligible regular layers (frames, groups, text, image rectangles) placed inside a slot.

Why it matters:
Slots are meant to replace detaching, so more and more real content now lives inside slots. Without this, files built with slots stay messy, which hurts handoff and Dev Mode readability.

Has anyone else run into this, or found a workaround? So far I've only seen a community skill for the Figma agent that handles slot content separately, but it would be great to have this in the built-in action.

Thanks!