How to dynamically connect 2 components with multiple instances

Hi friends! I have a Pie composition with a Tag component (10 instances) and a Sheet component (10 instances). Tapping on each Tag instance should open its corresponding Sheet instance (e.g., Tag1 → Sheet1, Tag2 → Sheet2, etc.).

What’s the most efficient way to set up this one-to-one mapping dynamically, rather than hardcoding separate interactions for each pair?

Here's an example with dummy content.

Thank you!

Tag + sheet interaction.mp4