Figma Support Forum

Can I automaticaly scale icons to fit the dimension of a frame? Or do I need to manually build each icon to a specific size?

I’m designing a sidebar menu. Each menu item has an icon next to it.

I have a range of icons that I’ve setup as components, each with very slightly different dimensions.

My question is: to be able to swap out individual icons with others in my library, is there a way of setting up a frame so that icons dropped into the frame scale to the same 26x26 dimensions?


Do I have to setup each individual icon component as a 26x26 icon (with a square vector also sitting in the frame to account for rectangular icons)? I’ve included an example of a ‘sign out’ icon with a transparent rectangle behind it to show what I mean.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.