Is there a way to make this? (show/hide elements)


#1

Im looking for a way to show/hide this elements with that arrow button, maybe through a component or code or whatever.
(This was made in Illustrator)
Thanks


#2

<ion-icon (click)="toggle()"></ion-icon>
<div [hidden]= 'isHidden' >
//div you want to hide
</div>
toggle() {
this.isHidden= this.isHidden?false:true;
}