Posts, a community app by Read.cv

Thread
Sona
Replying to @murathan

one large component with variables

Murathan Biliktü
Replying to @sonacharyyeva

Yeah, I originally did that, but Figma is giving me a warning. Having more than 1000 variables in one component can cause performance issues :(

Sona
Replying to @murathan

fuck it figma, i have files over 2500+ variable

Josh Pindjak
Replying to @murathan

I like how Phosphor icons does it: 1 component for each icon, with variants for weight/style. This makes it easy to search for individual icons, plus swapping out styles/different icons is trivial. You can download their figma file for free to see how they do it.

Murathan Biliktü
Replying to @josh_

Thank you, I will check it out!!