Variant + Properties question

Greetings,

I am have looking various guides, and I haven’t been able to solve my issue. I feel like its a couple of clicks away at the right time ;).

I am trying to set up a small and medium size for my compontent. I am having a little bit of trouble setting up the properties.

I want the two small variants to use a smaller text style which is not a problem since I can handle that easily by selecting a different style for both small and medium component variants. The problem arises when I am trying to create an icon instance (small icon and medium icon) related to the size of each. Here in the screenshot, I have “hacked it” by creating an Icon Small and an Icon Medium … which is far from ideal.

I hope it is clear.

Thank in advance

(upload://bhUdLngj4FxX1YNILyyv1dGCLW8.png)

Create a component that is responsible for the size of the icon. See an example at the link below:

1 Like