Skip to main content
Joe_Lakey
New Participant
May 22, 2023

Allow arbitrary/dynamic number of nested instances

  • May 22, 2023
  • 5 replies
  • 1724 views

Continuing the discussion from Dynamic number of nested component instances:

I have components that might include a number of instances of another component, e.g., rows or columns in a table, options in a select/dropdown, etc. To accomplish this, I have to either create a separate variant for each potential number of nested instances, or create the component with the maximum possible number of nested instances and make the instances hide-able. Neither is optimal—the first could lead to a crazy number of variants, and the second could result in a large number of hidden layers, which hits performance pretty hard.

It would be great to be able to specify a component instance to be nested in a “parent” component then allow an arbitrary number of the nested “child” instances in instances of the parent component.

5 replies

David_Geere
June 1, 2023

This would be an amazing, and incredibly useful feature. The example given in the previous discussion relays it pretty nicely. Would love to see this happen.

Slava_Bronevitskiy
Active Member
August 15, 2023

There is a need for this. Please make this a reality @figma

impactby.design?ref=nI
Lesley3
August 24, 2023

I would love to see a feature like this! Creating booleans to hide/show items in a list is very clunky 😦

November 22, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Alessandro_Suraci1
New Member
November 8, 2024

Exactly what was said into this (now closed) thread.