After using the “clean document” plugin, my variants are named according to their properties instead of the component name.
Meaning my instance layer is named “propertyA=yes, propertyB=yes, propertyC=no” instead of “component name”.
Is there a way to automatically revert this/fetch the component/instance name correctly? A plugin or a workaround?
Figma uses naming a lot to figure out how to do stuff, and the same goes for variants.
Since variants are just different versions of a single component, Figma uses these properties and values internally to differentiate them as variants of a single component. When bringing out components from your asset library though things should look as you expect. It might feel more natural to give them names that make sense to you, but in the end, the instance names are as they are supposed to be and all you have to worry about is the name of the component set itself.