A switch that shows a Yes/No animation. It uses an input and an event - slightly different from the usual Switch but simple to implement. Shows the Yes and No represented by a tick and cross respectively.
Credit to the following codepen https://codepen.io/oliviale/pen/xxboXzo for the original code.