Video yükleniyor...
Video Yüklenemedi
You can take this to another level by adding in variants for different icon types, text string variables, and mode switching to pull it all together
27,928 görüntüleme • 2 yıl önce •via X (Twitter)
9 Yorum

Yeeees!

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.

Does your image component have auto layout applied?

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.

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

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

A thread @gleb_sexy won't like

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.

Is this because you use an icon font?

