Right now a component with lots of variants is fully loaded into page memory making large components fill memory fast. It’d be awesome if there were a checkbox in the component settings that allowed variants to be lazy loaded.
Switching options on a component would then take more time, but at the benefit of only having layers in use loaded in memory.
Hey there! Thanks for the feedback and sharing your idea. We’ll pass it along to our team for consideration and gauge the overall interest in the community
Also experience this as a big memory issue as well. This could make a huge difference in our library performance!
Yes! Anything to improve memory management in Figma would be extremely welcomed by our design systems team!
This would be great, rad suggestion Cody!
This would be a tremendous improvement! P0 for sure
Running out of memory is such a pain for many of my projects. This would be a huge improvement!
Oh my goodness. I am so on board with this. Imagine being able to set this for individual properties??
For example, my “State” props go entirely unused in mockups—they exist purely for realistic prototype experiences and for devs to grab styling values. I’m sure there’s loads of other variant props like that: necessary, but they go unused. Whereas other properties I might want to keep fast access to. Something like a boolean for “logged in” or “logged out.”
This is a tremendous idea Cody, thank you for posting!
Coming back to this. Was hoping to see an update or reply from Figma
I know! I’ve tried contacting a few people inside Figma as well. I guess they just don’t prioritize performance.