When component property boolean is false by default, do show layer in component definition

When you create a component and use the new comp properties to switch some layers off by default using boolean component properties, Figma hides the corresponding layers also in the master component, which presents the following issues :

  • You have to go to Layers panel to select the relevant layers
  • If you just look at the component, you don’t see all the layers that are designed and available, but invisible by default, you have to select the component definition and look in the property panel to see all that is there, or the layers.

Example :

image

image

Suggestion :
Either do not hide the layers in the master component at all, or outline them with a dotter border or something to mark them hidden by default.

I also wish there was a way to set the default value of a layer to hidden without actually have it be hidden in the master component. In a variant prop you can re-arrange the true/false and the top value determines the default. Maybe this same method can be applied?
Screen Shot 2022-08-03 at 2.15.20 PM

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.