Figma Support Forum

Nested variant component override controls

it would be nice if the inspector would list overrideable / swappable nested components without one having to drill down into the component’s layers.

This would allow to quickly select multiple components and change an override for all of them. Currently I have to click through the relevant layers of all marked components to adjust the overrides in bulk: E.g. changing an icon override for multiple components.

4 Likes

Agree so much with this, as it would massively improve the usability of components as well as reduce the work required. At the moment, I’m creating components with nested variants, but in order to make it obvious what the component can do I’m creating variants of the top level component that changes the inner variants. A lot of work, but otherwise the nested capabilities are hidden/lost when people go to use the component :cry:

2 Likes

Am curious to see how you are achieving this as I am having the same issue. Love auto layout and everything I can do with it be when our designers use the components the nested components require too many clicks

If you use a variant component as a base component in another variant component, you can just change variations of the top-level component.
in order to get rid of making a huge number of buttons/inputs to have a variant button component, It’s good to show nested variation to change.

At this time if you have a nested variant component you should double click to go inside and edit change variation overrides.
nested-variant-component

I’m looking for something. like this

I do exaclt the same thing, where I work with layered/nested “base” components. I currently structure everything so that the color-variation is on “top”. But often, for example with buttons, I have to go many layers of components deep to hide an icon, or change some variant there. It would be great if we were able to just see options related to nested components from the top layer.

1 Like

This idea can help the user to see nested properties without the need to click inside of an instance.

Here is an example of what I try to explain

Does anyone else find this useful?

I have built multiple components that contain nested components, all of which have variants. It would be fantastic if there was a way to see all variant controls for nested components within the selected “parent” component.

This way you don’t need variations just to control nested components.

2 Likes

@Moderators please merge these feedback all seems to be the same request

1 Like

@devs This is one of the most peculiar thing that I observed, I mean you still can dig through the nested comps and switch variants so, why not have it up-front ? I’m very curious to know what technical or more likely UX block preventing this to be implemented.

2 Likes

well @devs ?

+1
This is an obvious evolution of the variants I am just waiting for the dev team to do this. Cannot comment on architecture and performance implications, but from the UX perspective of us users this is an necessity. I cringed when reading about poor souls creating components with 3000 variants. No way I am going near that.

1 Like