Skip to main content
Solved

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

  • December 9, 2025
  • 2 replies
  • 52 views

Vadim9

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 😆

 

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
  • Power Member
  • Answer
  • 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
  • Author
  • New Member
  • December 9, 2025

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