Clicking an instance opens it in another variant on another frame

I have a component (product tile) with two variants (small and large).

I also have another component with the small variants of component 1.

I made 2 different instances of component 2.

I would like to be able to when clicking on an instance, it opens it in another frame in large, is this possible?

Thank you in advance <3