I had a small panel switch, used for inline in a wire. The switch clips into the sloped edges in the skin, holding it tight.
Mode build123d code supplied for remix
https://www.diyelectronics.co.za/store/buttons-switches/6687-250v-6a-rocker-switch-black.html
The author marked this model as their own original creation.