Figma Support Forum

Icon variants list

Hi!

Is it possible to display an icon list (created as variants) with a preview beside and not just its name? Because now, looking for a specific icon in the list is frustrating.

Don’t use variants for icons, this is bad practice (and what you are showing is just one of the reasons why). Variants are supposed to be used for different states of one thing, not different entirely different things.

Ok.
Is there a better way to change icons in the button component for example?

Yes, simply select the necessary icon component in the instance swap menu. It even has search and grid display!

Cool, thank you Gleb!