You can take this to another level by adding in variants for different icon types, text string…
@disco_lu69K followers
27,928 views
9 Comments
Comments from the original post on X (Twitter)

@disco_lu
Yeeees!

@KarlMartinUX
Do you know if something like this can be done for image aspect ratios? For some reason, changing the size of an nested image component inside another component doesn't resize the image fill.
1 like

@disco_lu
Does your image component have auto layout applied?

@molly_hellmuth
This is a great option too! Although sometimes I worry about the file size if supporting a LOT of icons and a LOT of size options.
1 like

@WillisJonny
I feel like, from experience, this would be cool but probably a bit of a pain/buggy … 😬😂

@disco_lu
It’s pretty robust! Relies on variants sharing the same name as the variables, which may be where deviation happens

@mrstev3n
A thread @gleb_sexy won't like

@lesdemaria
We’re still stuck on Level 0 because we can’t move on with the new library without typography and it drives me crazy how long this takes. I switched to PM and am relieved that I don’t spend my days in Figma anymore. 😒 times change.

@disco_lu
Is this because you use an icon font?
