Hello, everyone.
I have a prototype linked to a Component Library file. I’m applying a language switching mode using variables. The thing is, I can’t create the variables in a set of grouped components that contain variants. Do you know how to apply variables in this situation and link them to different files?
E.g. I’m going to use in my hi-fi file a component containing variants coming from my Component Library file, how do I make this component respond to a variable?
Hi @anon18203950, Thank you for reaching out about this!
I’m unsure about your goal, but if you wish to assign variables to variant properties of the main components, it appears not possible, at this moment.
However, you can assign boolean, number, and string variables to instances with variant properties. Please refer to the information provided here for more details : Modes for variables - Use with variant instances
In addition, I came across similar request from other members of the community in this post: Assign variables to variant properties of the main components & nested instances
Please feel free to check it out and if you support this idea, please leave a comment/vote!
I hope this provides some clarification. If I have misunderstood anything, please inform us.
Furthermore, we welcome any additional perspectives from other members of our community.
Thanks again for reaching out.