Component variants to be changed when you click on a dropdown options

I have created a component with 5 variants and DropDown with 5 options. I am trying to show a variant from the component by selecting an option from the dropdown.
I am trying with boolean set up for the variants, by click event from the option, I am setting up of the True for the selected variant rest all false. But it is not working for me.
Do you have any suggestions?
Thanks in advance.

Hello @Arunprakash_Sambandam! Can you share a copy of the file you’re building this on (or a duplicate with the same actions/items)? If you can’t share the file, could you share a screen recording of the build you have?

I’m trying to get a better visual of the process you’re working on, but no worries if you can’t share. Could you maybe provide step-by-step how you’ve built out the dropdown list you mentioned?