Component properties are a massive leap forward in Figma.
That being said...
They're falling short in one big way š
I want to preface this thread by saying...
This is a beast of a product area and I'm sure the team views this Config release as a foundation on which to build, not the perfect end state.
I'm super grateful for the V1 š
Ok now to share my humble plea with the team š
In this example, I want to be able to control the Toggle switch at the parent level.
B/c my goal is to always be a click away from an on/off switch (without having to drill into my layer list or create an unnecessary parent variant.
This is one of the core improvements associated with component properties!
We can now control subcomponents at the parent level which is a BIG deal.
(went into more detail in this thread below if you're curious) twitter.com/Ridderingand/status/1524118503929778176?s=20&t=RoXbv6hevSDpNg3JLDYodw
Here's the problem though š
When I go to add a component property to the switch...
It defaults me to an "instance swap"
... not very helpful š¤
Let's say you just imported my Row component.
The last thing I want is for you to be prompted to swap out my toggle for a different subcomponent.
That would create chaos š¤¦āāļø
Nested subcomponents need to be controlled in two ways:
1) Swap with a different component
2) Change to a different variant
(right now # 2 is impossible and it's driving me crazy lol)
On one hand, you could add a tab to configure the "Swap" action like the mockup below....
But what we really need is the ability to perform all the component property actions:
⢠boolean
⢠swap instance
⢠swap variant (new)
...regardless of whether I've selected a subcomponent or a one-off piece of UI.
B/c those use cases span layer types āļø
"Please don't murder me"
- my directional arrow icon variants
"Please don't make me redo @figmaacademy lessons without variant swapping"
- me
I have all the faith in the world that this feature will only become more effective over time.
Can't wait to see how it evolves and hope to see more component property options soon š