Skip to main content
Vadim9
New Member
Dec 9, 2025 10:21 AM UTC
Solved

Is it possible to change the number of items in an instance of a context menu without detaching?

I am creating a simple context menu. I have an item component and a menu component with auto-layout that consists a few items. I can duplicate items inside the master component, but I can’t do it in an instance. Is there a solution for that, or do I need to create variants with different numbers of items?

ChatGPT and Gemini say that there is an option called “Children property” in Figma that can help, but I don’t trust them 😆

 

This topic has been closed for replies.
Nellya
NellyaSolution
Power Member
Dec 9, 2025 11:19 AM UTC

For now, you can add the maximum number of items to the main component and hide the unnecessary ones in instances. However, the component slots will be available in the near future.

2 replies

Nellya
NellyaSolution
Power Member
Dec 9, 2025 11:19 AM UTC

For now, you can add the maximum number of items to the main component and hide the unnecessary ones in instances. However, the component slots will be available in the near future.

Vadim9
Vadim9Author
New Member
Dec 9, 2025 11:25 AM UTC

Thank you ​@Nellya. I thought so. Looking forward to the Slots.