Hi @Humanity ,
Do you want to change a component's visible based on another component and change a component's visible based on a button inside itself?
Actually, I do not think this will work.
The key point is that component does not support custom property.
So if you click one button in component1, you could not create a variable that could be used in component2.
The variable that is created by component1 could only be used inside component1.
Here are two alternative solutions for your issue:
1)do not put the close and open icon in components
Outside component, you could make them to set the same variable.
2)put close and open icon in the same component
Inside the same component, you could make them to set the same variable.
Best regards,