Figma Support Forum

Changing base component variant brakes derived variants

Hey. I’m trying to test different styles of a specific component on my layouts. I created a base component (called blueprint) and created a variant of it (style 2, only changing colors/borders, keeping the same name for the elements inside) and then created another component (called component) from this one and created the variants from it (hiding elements to enable mix and match of elements.

The variants work fine with the style 1, I can change the switches all I want and they reflect the variants.

The problem is that if I change the base component to style 2, the properties stop working. They fail to behave correctly. It hides the elements, but fails to show them again.

Any thoughts?

Here’s the demo file: