Hiding/Showing Components within a Dynamic Component

The simplest technique (I believe) is to allot a value to each option and use choose with reference to the dropdown as per example attached.
hidden_example1.skp (34.1 KB)

you can reference the dropdown list using OPTIONINDEX(“attributeName”) in lieu of values so in the example in the parent make an attribute =OPTIONINDEX(“type”) then reference that
hidden_example2.skp (34.4 KB)