Accordian Component with a flexible number of Items

G’day Legends,

I am new to Figma and trying to figure out how to make an accordion with a list of items that can be flexible, it could be 4, or it could be 1.

Here is the Link for reference

Thank you

Unfortunately, at the moment, the flexible number of objects in component instances is not about Figma. You can create a component with the maximum number of objects, and show/hide only the ones you need in its instances. You can also use the “slots” method to add objects.

Thanks mate. Are you able to explain the slots method? I am intrigued.

1 Like

Thank you, I will check them out now.

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