Is there a way to make components change positions when you interact with another component?
Hi there, can anyone explain how to make components change positions when you interact with another component?
More specifically, i want to make a menu of buttons that, when you click one of the buttons, shows a text box and moves the other buttons down to fit the text box. Illustrated below.

The way i have done this, is to make a main component with all the buttons, and then individual instances of each button to host the hover and toggle effects. If i create one component with all the buttons in it, i can't hover/toggle each button individually. Any advice on this?
