Skip to main content

Hi guys! I’m trying to change the orientation of my image in a component, but it is not working.


Components Setup



  1. Image Component with three variants: landscape, portrait, square

  2. Card Component with a thumbnail (instance of image component), card title, and subtext.


Now, in the instance of the card component, I want to change the image orientation, but I can’t do it.


Here is the link to the file: https://www.figma.com/file/xMWWqpfpIJnr8jMmiFsOrH/Nested-Image-Component?node-id=0%3A1

Add auto layout to your variants in the component set and everything will work.


Thank you so much! It’s working!