filmov
tv
How to use instance swap property & expose nested instances in Figma - Figma Tutorials 4K
![preview_player](https://i.ytimg.com/vi/blxcamtmO_Q/maxresdefault.jpg)
Показать описание
Question:
How to use instance swap property & expose nested instances in Figma? I made the main component set with states used, that component, and replaced the icons and text with instance swap. But when I hover/click on instances, although the hover effect is working - it shows the same master icon when I hover on new icons. What seems to be the issue?
Short Answer:
You must ensure that your layer naming conventions are the same. Also, regarding your master component in Figma, enable the instance swap property and expose your nested instances. This will allow you to swap your instances smoothly.
How to use instance swap property & expose nested instances in Figma? I made the main component set with states used, that component, and replaced the icons and text with instance swap. But when I hover/click on instances, although the hover effect is working - it shows the same master icon when I hover on new icons. What seems to be the issue?
Short Answer:
You must ensure that your layer naming conventions are the same. Also, regarding your master component in Figma, enable the instance swap property and expose your nested instances. This will allow you to swap your instances smoothly.