If you want your icon instances you be dynamic you need to keep them inside autolayout frame with hug content property
Here is the topic to dig in - Switching variant on child component inside an instance is ignored or applied only to some properties? - #7 by Pavlo_Kiselov