How to separate and use data (image, label, audio) from dynamic CardViews?

Show us how do you create the dynamic card views?

suppose if you use plain number alone to create the main card view then get the clicked component id using like this. If you search in community you will get plenty of results and you no need to make a post even for that