Skip to main content
Question

Nested instance do not keep values if I change variant on a parent

  • December 9, 2025
  • 1 reply
  • 10 views

Alex172

There is a rather frustrating thing happening with nested instances and makes the use of components rather useless.
When I apply values to a component instance which uses a nested instance of another component (see image to understand matrioska structure), and I change variant (in the example provided I change the item-block size inside list-item) the value in the final instance resets even if the name of the layers and the structure are the same.

So Imagine now the final instance (card-with-content instance) used across multiple UIs and I decide to change the variant, I have to edit the overridden labels and icons everywhere because they will be reset.
 

Image 1 - Overridden value in last instance 
Image 2 - Variant of item-block changed inside list-item but values are not preserved inside the last instance

 

1 reply

Tom E.
  • New Participant
  • December 11, 2025

+1 on this, it feels like a bug.

 

In my case I noticed that even though I have the layer names overridden in all variants of a nested component, if the topmost component changes variants, I lose all overrides within the innermost nested instances. This is quite annoying with eg. tags where there might be several overridden labels and they all get reset.