Figma Support Forum

Why is "combining variants" not assuming component's name?

Usually, when combining components as variants and if properly named, the Variants group will be automatically assume their common name.

But sometimes it just names is “Component x”. I verified if all components are correctly named and they are. What’s wrong?

Screenshot 2021-04-12 at 12.28.23

Screenshot 2021-04-12 at 12.28.32

This probably happens because the names already somewhat adhere to the variants name notation instead of the regular / nesting (you are setting the property and value there with =). So it thinks these already are variant names and keeps the property and values as is. If you remove the = sign it should work as you are expecting.

1 Like

I removed “Theme=” and it works! I just have to rename the property to “theme”, but it’s way easier. Thank you!