I created a component: a button that can contain a text and an icon or can contain a text only or an Icon only.
Now I want to use its instance and change the icon without detaching it, how can I do that?
When you have the button component you should select the icon and on the right panel click on the icon for “Apply instance swap property”
After that a modal will pop up and you can select all the preferred variants (in this case other icons) that can be swapped within the button components
Please check this video, hope it’s useful