Access sub-component variant as a property in main component?

So I’m using the new properties feature to restructure some components. As an example, if I have a button with an icon.

My “arrow” icon has 4 variants - up, down, left, right.

If I have this arrow in a button component, can I bring up the icon’s variant selector as a property on the main button component?

Hey Nikhil,

No, you can just swap instances for now. Hope it’s possible in the future, but for now you need to click on the component that you want to switch the variant of.

Have a great day

1 Like