Skip to main content
Zoltan_Szalay
Sep 22, 2022 1:44 PM UTC

Expose/hide nested instances -> at component property level

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.

389 replies

Greg_Smith
New Member
Nov 22, 2022 11:17 PM UTC

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
Nov 25, 2022 3:21 AM UTC

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

Josh_Loya
Nov 27, 2022 4:07 AM UTC

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
Dec 7, 2022 8:57 AM UTC

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

Tim_Hose
Jan 4, 2023 1:29 PM UTC

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
Jan 20, 2023 6:21 PM UTC

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
Jan 24, 2023 3:27 PM UTC

+1, we really need this.

Adam_Przewoski
Jan 26, 2023 7:32 AM UTC

Keeping the thread alive, +1!

Namson
New Participant
Feb 3, 2023 2:08 PM UTC

We need this as well!

Erin_HG
New Member
Feb 8, 2023 12:56 AM UTC

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