Skip to main content
Zoltan_Szalay
September 22, 2022

Expose/hide nested instances -> at component property level

  • September 22, 2022
  • 386 replies
  • 20847 views

With the new update, we have a great new feature, but unfortunately, it’s not usable with our component structure.
Exposing all props of a nested instance also exposes props that we don’t want in the context of the consuming component.

What if we could also select which properties to expose? This would lead to a cleaner sidebar with only valid props.

386 replies

Greg_Smith
New Member
November 22, 2022

Would love the option to hide component props from consumers. For instance:

Component A

  • Nested component B
  • Nested component C

Component A is made up of two nested components, B and C. Components B and C have properties that are adjusted to provide variants of Component A. They’re really just for my use.

But if a designer “clicks in” to Component B, for instance, they can see its props, in the right sidebar (which I’ve used primarily to make those Component A variants). I don’t want them to touch the props for that nested Component B. I’d like to hide them.

I heard rumors that this might be an upcoming feature. Is this true? 🤔

Sanket_Chaudhari
November 25, 2022

+1 - need capabilities to expose selected properties from within our nested instances. Cannot use this feature without it.

Josh_Loya
November 27, 2022

I’m running into this limitation, too. Being able to expose properties from nested instances is the right direction, but I need to be able to selectively expose properties, rather than an all-or-nothing toggle.

Andreas_Haimerl
December 7, 2022

Would also be highly interested in this. Would make things much easier for the consumers of our enterprise Design System.

Tim_Hose
January 4, 2023

Replying to keep this alive. Our group would love this feature, as something like tabs or lists with nested components becomes such a massive list that they’re not usable.

sweetdrumster
January 20, 2023

Agree. It is vital to be able to mark props as private/public or simply specify which of nested components’ props should propagate to their parent.

MarcoD
January 24, 2023

+1, we really need this.

Adam_Przewoski
January 26, 2023

Keeping the thread alive, +1!

Namson
New Participant
February 3, 2023

We need this as well!

Erin_HG
New Member
February 8, 2023

+1 This would make exposing nested instances much more useful for my team as well.