Are you referring to the default side bar widget? You could look into changing the icon into an image. Otherwise, you could look into css classes and style it the exact way you want it.
Hi,
Yes, it is possible to toggle the sidebar in Mendix using an image instead of a button click.