Features
I used two components for this interaction. A component for the cards, and another component for wrapping the cards. I also used absolute positioning to move the cards on click and multiple variants to change their state when clicking through the carousel.

Step / 01
Remix the file.

Step / 02
Take a look at how it's built.

Step / 03
Try recreating it for practice, or copy and paste it to your project.