Skip to main content

Expose/hide nested instances -> at component property level


Show first post

308 replies

Dan_Hopewell
  • Active Member
  • 20 replies
  • August 15, 2024

Another practical benefit/use case for this in design system work:

Being able to hide/disallow the editing of certain properties in specific contexts would help our Figma components to be more self-documenting for our engineers

Scenario:

We recently had a dev on our team run ahead building the React Native counterparts to a handful of new Figma components. And the recent strides Figma has made in building bridges between design and implementation has made this more frictionless than ever, with our dev able to self-serve basically everything they needed directly through Dev Mode.

However, one of the components in question included a few nested instances. And, because certain of these nested properties needed to be configurable by consumers of the parent component (e.g., text strings and icon swaps), those nested instances’ properties are exposed.

So our dev’s implementation wound up including all of the nested properties, including several that absolutely should not change in the context of this specific parent component (as changing them can break the layouts and screw up their visual representation of state).

And the React Native component itself wound up being both more complex (with numerous unnecessary parameters) and more potentially brittle (liable to breakage) than necessary.

Right now, resolving this disconnect requires an extra layer of verbal or textual instruction on which properties to include and which to ignore for each component.

If we were instead able to explicitly hide those properties from design system consumers, the component property configuration itself (whether viewed through the Dev Mode playground or accessed through some manner of code integration) could itself potentially serve as a standalone contract between Design and Engineering, without any extra layer/side-channel of accompanying documentation being necessary.


ange1sha
  • New Member
  • 11 replies
  • August 16, 2024

This is the clearest explanation of the problem!!! @Figma_Support


ange1sha
  • New Member
  • 11 replies
  • August 16, 2024

If I could heart this a thousand times, I would!!!


Evan3
  • 1 reply
  • August 16, 2024

Please make this happen


Mel_Bosch
  • New Participant
  • 10 replies
  • August 22, 2024

again me 🙋‍♀️

We need this function. At the moment, we are building individual components in a more complex way so as not to expose all the properties of the nested components. The whole workflow would be solved by simply turning the properties on and off. Please add this, it would help many designers when building components.


Shahbaaz
  • 1 reply
  • August 22, 2024

+1, it’s really needed!


William_PRASZEZINSKI

+1, it’s needed for us too 🙏


Jimmy_Frogbat

A definite must, in my case I have set styles that I don’t want the user to change (they’re determined by the parent), and wish to expose other props like the text override.


Cecile_Lotteau

+1 !! A long-awaited feature…


Quino_Melguizo

After almost 2 years, still waiting for this…

Should we discard the idea that this will happen someday? or… can we think that it will come at some point? @Celine_Figma

Honestly, If you can prioritize this kind of initiatives to others like mouse pointer customization… it would REALLY help to library building teams worldwide.


Connie5
  • 3 replies
  • August 28, 2024

it will almost have been 2 years since this idea was posted, so i am posting to both upvote this and celebrate its birthday 🥳


Jorge_Montero_GFT

happy birthday post
🤣


Bhargav_patel

+1 Need this feature please!


Piotr_Stanislawski

+1 for this, i need to clean up the mess we have in DS files so bad


Subu
  • 1 reply
  • September 12, 2024

+1, we need this ASAP!


Caroline_H
  • 4 replies
  • September 12, 2024

I made some Figma Slides if that helps to convince to prioritize the feature request.

Figma – 12 Sep 24

The tl;dr: Just expose all nested components with a toggle to turn on nested properties with fine-grained control.


Jorge_Montero_GFT

Nice work Caroline!!!


royi_shtainberg

Just to one up this MOST IMPORTANT FEATURE


Jarek_Marciniak2

Yes yes! 🙂 That’s what we neeeeeeeeeed 😃


Amogh_Srivastava

+1 to keep this alive


Cecile_Lotteau

+1 So, so necessary 🙏


DylanMcLeod

+1 please…desperate for this ability!


Marianne_Rosvik1

+1 We also need this functionality in our designsystem.


  • 1 reply
  • September 25, 2024

We need this feature for our DS. Please make it happen Figma!


jamiefang
  • New Participant
  • 6 replies
  • September 26, 2024

+1 This could improve our DS so much 🙏


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