Skip to main content
Vadim9
New Member
December 9, 2025
Solved

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

  • December 9, 2025
  • 2 replies
  • 331 views

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.
Best answer by Nellya

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
NellyaAnswer
Power Member
December 9, 2025

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
December 9, 2025

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