Hi,
I am trying to wrap my head around (and staying in control) using slot components in a layout grid component. I might be overcomplicating things, so any input to keep it simpler please pitch in. ๐
First off, some sources and background.
Inspiration for slot component and layout: https://medium.muz.li/design-systems-101-placeholder-components-in-figma-17da55125572
Might be related to Library Component Overrides Broken (makes it useless).
What
Having a reusable component where I can change number of items in instances and layout direction.
Why
Having control of instances of master/base components, while having the flexibility of adjusting number of โitemsโ without using show/hide layer, and minimising variants work.
I can somewhat follow why the overrides do what they do, but I still see some behaviour that could be a bug or for me at least unexpected.
Instance resets to slot component
Some changes are kept on reset
Multiple resets to slot component (no text overrides)
Maybe Iโm doing something wrong, maybe I am using nested components and overrides in an unintended matter.
Here is a playground file as well: Layout and Slot Component playground | Figma Community
Edit 1: Moved videos up and added title.