This is part of a larger Figma community file!
The problem it addresses is that nesting icons in our components means we can’t resize them 😬
But if we embed a single IconWrapper component that contains instances of our icons... all of a sudden we can resize any icon using variants. It's an incredible superpower when working in a design system 👍
We use this tactic extensively in Figma Academy — https://www.figma.academy