Summary: State-driven variable bindings (icon color, border width) don't apply on the first variant change when a component instance lives inside a slot of another component. A second toggle is required before the correct values render.
Steps to reproduce:
- Component A ("Menu Item") with a
Statevariant (Default / Active). The Active variant changes the icon color and border via variable-bound values (tokens). - Component B ("Navigation") with a slot; place Menu Item instances into that slot.
- Use Component B as an instance (in our case, nested inside a larger component / preset).
- On the instance, change a Menu Item's
Stateto Active.
Expected: The icon color and border width update immediately to the Active tokens.
Actual: On the first switch, the icon color and border render stale/incorrect. Switching State a second time corrects them. A direct (non-slotted) Menu Item instance flips correctly every time — the issue only occurs through the slot boundary.
Environment: Figma desktop, Slots (beta)
Additional signal: The Plugin API cannot resolve the slotted item nodes (returns "Node with id … not found"), which suggests the reconciliation issue is at the slot level, not rendering.
Recording:Â In this example the whole navigation is inside a component like preset wrapper, then we have navigation component with a slot for items in it. Each navigation item is also a component.
Â
