Skip to main content

Expose/hide nested instances -> at component property level


Show first post

299 replies

Bauke_Schildt

Another option could be a menu on the line of the name of the component

In your example that would be “🔶 IconRight 🎚️🎚️” with a flyout menu to turn visibility of component properties on/off

Edit:

Mockup:
Imgur


Jetto_Gonzalez

Please help with this functionality, I remember that when I was working with Sketch they have it and it helped the designers a lot and to maintain consistency in the DS and in the designs and that was about 3 years ago aprox.


Emanuele_Brivio

+1 this is really needed also for us, exposing all the properties for some complex component is not useful, but being able to select which one to expose would solve our isse!


image
Here is a Select input component I am working on. The label is a separated component with different states and content property for the text.

I want the parent component to show the “label content” whereas I don’t want user to be able to change the state of the label.

I think we can have a convention where the “_” or “.” in front of the property can make it “local” to the component and not propagate up to the parent components.

Thanks


Josh
  • Former Community Manager
  • 1019 replies
  • May 26, 2023

Might need a little more context on how you have everything structured but you should be able to specify which nested component props show up on the parent component.


I want to show specific properties from an instance, with this I can only show ALL properties from an instance, or none.


Jeremy_Knudsen

+1 Yes please!!


Armin_Rouhanian

+1 No need to explain why we need this. Great idea.


Laura_Fegan

+1 for us too


Dennis_N
  • Power Member
  • 181 replies
  • June 22, 2023

Dennis_N
  • Power Member
  • 181 replies
  • June 22, 2023

Celine_D
Figmate
  • Community Support
  • 3381 replies
  • June 23, 2023

Hi @Dennis_N ,
Thank you for flagging this! I merged with this topic. 🙂


Margs_Plaisted

I would also love this feature, it would simplify components and really improve efficiency for our Design System users.


Jonathon_Tesch

Pleeeeease! This would solve so many headaches I’m currently struggling with as I nest components


Maritza_Hernandez

+1… please 🫶🏼


Dickson_Shaina

Please please, this would be such a game changer for more complex components with subcomponents and nested properties.


Vivien_Lecart

+1 pleaaase 🙏


Equinusocio

Please, everyone coming here with same request/issue, vote the other thread!
Expose nested instances → at property level - Share an idea - Figma Community Forum


Equinusocio

Come here for the same issue. At the moment this lack prevents us to use the feature at all in our design system. We don’t want consumers to override all the properties (introducing confusion and inconsistencies) of predefined components coming from the shared library.

PS: Don’t forget to vote the thread


Celine_D
Figmate
  • Community Support
  • 3381 replies
  • July 17, 2023

Hey @Equinusocio ,
Thank you for noticing it! I merged this topic with the other thread, so we can have all the feedbacks and votes in the same place. 🙂


Christian_Klose

+1

This feature is really a must-have! I try to workaround by adding Stop-Emojis in the property name, so that users of the design system won’t change the nested property. Much better it would be, if we could hide unwanted properties in the parent component.


Tim_van_de_Velde1

+1 must have for atom > molecule > organism based component nesting


Stephen3462
  • New Member
  • 4 replies
  • August 17, 2023

+1 - such a mess without this


Sorin_Cadar1

The need for this is such a no brainer.


Alexandre_Navarro_Caldeira

So many upvotes and comments and still not a hint of solving this 😦
It’s a must-have! We use slots and master components a lot and this heavily affects usage of our components.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings