Skip to main content
Cody_Sorgenfrey
New Member
December 4, 2023

Allow component variants to be lazy loaded

  • December 4, 2023
  • 9 replies
  • 1031 views

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.

9 replies

Celine_
Figmate
Community Support
December 5, 2023

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 🙂

cupps
December 13, 2023

Also experience this as a big memory issue as well. This could make a huge difference in our library performance! 😍

Jeremy_Knudsen
Active Member
December 13, 2023

Yes! Anything to improve memory management in Figma would be extremely welcomed by our design systems team!

Spencer_Hurd
December 14, 2023

This would be great, rad suggestion Cody!

Dan_Duarte
December 14, 2023

This would be a tremendous improvement! P0 for sure 🙂

PollyYang
January 3, 2024

Running out of memory is such a pain for many of my projects. This would be a huge improvement!

AlicePackard
Power Member
January 3, 2024

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!

I write about building excellent Figma components on my blog: https://alicepackarddesign.com/blog
Jeremy_Knudsen
Active Member
February 13, 2024

Coming back to this. Was hoping to see an update or reply from Figma 🙂

Cody_Sorgenfrey
New Member
February 13, 2024

I know! I’ve tried contacting a few people inside Figma as well. I guess they just don’t prioritize performance.