Managing different states in chain
Hello, I’m quite new to Protopie. I followed a few lessons, but the learning curve is hard. This is the interaction I want to create (I simplified the UI here).
As you can see, it’s a card carousel.
Only one card can be active while the others are collapsed as tabs.
There are 3 possible interactions.
If I clic on YES = the card is collapsing on top with its state being “yes-selected”
If I clic on NO = the card is collapsing on top with its state being “no-selected”
I clic on a different tab without choosing Y or N = the selected tab is displaying as the selected active card.
Everything moves together. There are different states depending on the interaction choice. There’s an animation transition to do between 2 components (tab to card).
Well I honestly don’t know how to make it work ☹️
Can someone help me?
Thanks a lot
Jeremy