Stuck! Prototyping and instances. Sure there's a smarter way

I have a grid of people (around 50). If a user clicks it brings up an overlay showing their profile. They will have different names and photos. There are also different instances of these profiles… default, pending and not active.

I want my prototype to be as realistic as possible, so I want each of the people’s profiles to be clickable and bring up the relevant picture and name on the overlay, I’m sure there’s a smarter way than creating a default and pending for each 50 profiles and linking them all up.

How can I get the profile component to bring up the overlay component with the correct content?

…Thanks!!!

ask figma