Skip to main content
Question

Slots don't work with device layout variants in instances

  • April 3, 2026
  • 0 replies
  • 2 views

Tanya_Cedillo_Quiroz

Most of my components have device variants: desktop and mobile. 
Each of those are made with .base components with those variants too with proper layout and variable changes.

I’ve got slots working for both device variants, but when I use an instance and make changes for images or text (in desktop variant) and change breakpoint to mobile, it still using the desktop layout, and should use instead the mobile. 

What's the solution to this problem?