Nested instances and prototype? the relationship

can i call nested instances of a component in an app prototype. say for example i have a component with two buttons and a label. when a visitor clicks on a button , i want the nested instance of the label to change similar to changing the button variant. is it possible please.