Skip navigation
You can take this to another level by adding in variants for different icon types, text string…
0:00 / 1:28

You can take this to another level by adding in variants for different icon types, text string…

luis.

@disco_lu69K followers

Visit on X
87 likesDownloadOriginal post

27,928 views

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

9 Comments

Comments from the original post on X (Twitter)

  • luis.'s profile picture

    @disco_lu

    Yeeees!

  • Karl's profile picture

    @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

  • luis.'s profile picture

    @disco_lu

    Does your image component have auto layout applied?

  • Molly Hellmuth Tsacudakis's profile picture

    @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

  • jonny willis's profile picture

    @WillisJonny

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

  • luis.'s profile picture

    @disco_lu

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

  • Steven H-A 🫵🏽's profile picture

    @mrstev3n

    A thread @gleb_sexy won't like

  • Les's profile picture

    @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.

  • luis.'s profile picture

    @disco_lu

    Is this because you use an icon font?